Microsoft DirectX 8.1 (Visual Basic) |
Retrieves the transmit targets, if any, of the voice stream for a player in a session.
GetTransmitTargets(playerSourceID As Long, _ lFlags As Long) As Long()
Returns an array of Long values containing the DVIDs of the of the transmit targets, if any, of the server's voice stream.
If the method fails, Err.Number can be set to one of the following values.
DVERR_NOTALLOWED |
DVERR_INVALIDPARAM |
DVERR_INVALIDPOINTER |
DVERR_BUFFERTOOSMALL |
DVERR_NOTCONNECTED |
DVERR_NOTINITIALIZED |
DVERR_INVALIDFLAGS |
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.