Microsoft DirectX 8.1 (Visual Basic) |
Sends a message to a lobbied application that was launched by this lobby client or was connected by this lobby client.
Microsoft® DirectPlay® transmits the data to the target by calling the target message handler's DirectPlay8LobbyEvent.Receive method.
Send(Target As Long, _ buffer() As Byte, _ lBufferSize As Long, _ lFlags As Long)
If the method fails, Err.Number can be set to one of the following values.
DPNERR_INVALIDHANDLE |
DPNERR_INVALIDFLAGS |
DPNERR_INVALIDPARAM |
DPNERR_SENDTOOLARGE |
If the buffer size is larger than 64 KB, Err.Number is set to DPNERR_SENDTOOLARGE. If the buffer size is set to 0, Err.Number is set to DPNERR_INVALIDPARAM.