Microsoft DirectX 8.1 (C++) |
Retrieves the transmit targets, if any, of the voice stream for a player in a session.
HRESULT GetTransmitTargets( DVID dvSource, PDVID pdvIDTargets, PDWORD pdwNumTargets, DWORD dwFlags );
If pdvIDTargets is NULL, this parameter 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 |
This method can be used only if the DVSESSION_SERVERCONTROLTARGET flag is specified on creation of the DirectPlay Voice session. If the flag is not specified, this method returns DVERR_NOTALLOWED.
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.