Microsoft DirectX 8.1 (C++) |
Retrieves the transmit targets, if any, of the voice stream from this client.
HRESULT GetTransmitTargets( PDVID pdvIDTargets, PDWORD pdwNumTargets, DWORD dwFlags );
If pdvIDTargets is NULL, this must be 0.
Returns DV_OK if successful, or one of the following error values.
DVERR_BUFfERTOOSMALL |
DVERR_INVALIDFLAGS |
DVERR_INVALIDPARAM |
DVERR_INVALIDPOINTER |
DVERR_NOTALLOWED |
DVERR_NOTCONNECTED |
DVERR_NOTINITIALIZED |
The value returned in the pdvIDTargets parameter can be player or group DVIDs or the DVID_ALLPLAYERS constant.
If the buffer specified in pdvIDTargets is not large enough to store the list of targets, this method returns DVERR_BUFFERTOOSMALL and pdwNumTargets is set to the required number of elements.
If there is no target specified, pdwNumTargets is set to 0 and the return value is DV_OK.
Windows NT/2000/XP: Available as a redistributable for Windows 2000 and later.
Windows 98/Me: Available as a redistributable for Windows 98 and later.
Header: Declared in Dvoice.h.