Index Topic Contents | |||
Previous Topic: IDirectPlay3::GetGroupParent Next Topic: IDirectPlay3::GetPlayerAccount |
IDirectPlay3::GetMessageCount
IDirectPlay3 InterfaceQueries for the number of messages in the receive queue for a specific local player.
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 Values
Returns DP_OK if successful, or one of the following error values otherwise:
- DPERR_INVALIDOBJECT
- DPERR_INVALIDPARAMS
- DPERR_INVALIDPLAYER
See Also
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.