Microsoft DirectX 8.0 (C++)

DirectPlayVoiceCreate

The DirectPlayVoiceCreate function is an external creation function used to create one of the interfaces used in Microsoft® DirectPlay® Voice that are defined in the Dvoice.h header file.

HRESULT WINAPI DirectPlayVoiceCreate(
  GUID* pcIID, 
  void** ppvInterface, 
  IUnknown* pUnknown
);

Parameters

pcIID
Pointer to the interface ID you want to create. You may specify the IID_IDirectPlayVoiceTest, IID_IDirectPlayVoiceClient or IID_IDirectPlayVoiceServer interface ID.
ppvInterface
Address of a variable to receive the new interface pointer.
pUnknown
Address of the controlling object's IUnknown interface for COM aggregation. Must be NULL.

Requirements

  Windows NT/2000: Available as a redistributable for Windows 2000 and later.
  Windows 95/98: Available as a redistributable for Windows 95 and later.
  Header: Declared in Dvoice.h.