IDirectPlay4::GetMessageCount
IDirectPlay4 InterfaceQueries for the number of messages in the receive queue for a specific local player.
Syntax
HRESULT GetMessageCount(
DPID idPlayer,
LPDWORD lpdwCount
);Parameters
- idPlayer
- ID of the player whose message count is requested. The player must be local.
- lpdwCount
- Pointer to a variable that will be set to the message count when this method returns.
Return Value
Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_INVALIDOBJECT DPERR_INVALIDPARAMS DPERR_INVALIDPLAYER See Also
Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.