Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Play_Library v2.00 Component Reference
|
|
[ TDx_PlayLobby::ReceiveLobbyMessage() ]
[ next: ReceiveLobbyMessageEx() ]
[ prev: Internal_EnumLocalApplicationsCallback() ]
public:
virtual bool __fastcall ReceiveLobbyMessage( dword pAppID, dword* pMessageFlags, void* pData, dword* pDataSize );
TDX_PLAYLOBBY::RECEIVELOBBYMESSAGE()
[ component method ]
- Description
- Parameters
AppID
The AppID parameter identifies which applications messages to retrieve.
Only valid when the method is being called by a lobby client.
Set zero when calling from an application.
MessageFlags
The MessageFlags parameter defines flags indicating the type of message being retrieved.
The described effect applies when the flag is set.
The default setting of zero indicates a custom message defined by the sender.
DPLMSG_STANDARD
The message is a standard DirectPlay defined message.
Processing of the message is optional.
DPLMSG_SYSTEM
The message was generated by the system to inform the lobby of application status changes.
Data
The Data parameter will reference the retrieved message if the method returns successfully.
Set NULL to retrieve the required buffer size in the DataSize parameter.
DataSize
The DataSize parameter references the size, in bytes, of the Data buffer.
Before the call, set this to the size of the Data buffer.
After the call, it will indicate how many bytes were written to the Data buffer.
If the Data buffer was too small, this parameter will be set to the required size and DPERR_BUFFERTOOSMALL returned.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|