Microsoft DirectX 8.1 (C++) |
Sends a message to a lobbied application that was launched by this lobby client or was connected by this lobby client.
This method sends a DPL_MSGID_RECEIVE system message to the target's message handler.
HRESULT Send( const DPNHANDLE hConnection, BYTE *const pBuffer, const DWORD pBufferSize, const DWORD dwFlags );
Returns S_OK if successful, or one of the following error values.
DPNERR_INVALIDFLAGS |
DPNERR_INVALIDHANDLE |
DPNERR_INVALIDPARAM |
DPNERR_SENDTOOLARGE |
If the buffer size is larger than 64 KB, the method returns DPNERR_SENDTOOLARGE. If the buffer size is set to 0, the method returns DPNERR_INVALIDPARAM.
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 Dplobby8.h.