IDirectPlay4::GetGroupOwner

IDirectPlay4 Interface

Returns the DPID of the current owner of the group. This method is only valid in a lobby session.

Syntax

HRESULT GetGroupOwner(
  DPID idGroup,
  LPDPID lpidOwner
  );

Parameters

idGroup
ID of the group whose owner is being requested.
lpidOwner
Pointer to a DPID to be set to the ID of the owner.

Return Value

Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_GENERIC
DPERR_INVALIDGROUP
DPERR_INVALIDPARAMS
DPERR_UNAVAILABLE

See Also

IDirectPlay4::SetGroupOwner


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