| Microsoft DirectX 8.1 (Visual Basic) |
Controls the transmission of audio from the client to the specified members of the session.
SetTransmitTargets(playerSourceID As Long, _
playerTargetIDs As Long(), _
lFlags As Long)
If the method fails, Err.Number can be set to one of the following values.
| DVERR_INVALIDPARAM |
| DVERR_NOTALLOWED |
| DVERR_INVALIDFLAGS |
| DVERR_INVALIDPOINTER |
| DVERR_NOTINITIALIZED |
| DVERR_INVALIDTARGET |
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.