DirectPlay Animated Header -- IDirectPlay3::GetMessageCount DirectPlay Animated Header -- IDirectPlay3::GetMessageCount* Microsoft DirectPlay SDK
*Index  *Topic Contents
*Previous Topic: IDirectPlay3::GetGroupParent
*Next Topic: IDirectPlay3::GetPlayerAccount


IDirectPlay3::GetMessageCount


IDirectPlay3 Interface

Queries 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

IDirectPlay3::Receive

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page