DirectX SDK

DPMSG_SETGROUPOWNER

The DPMSG_SETGROUPOWNER structure is generated by DirectPlay when the owner of a group has changed. Group ownership can be changed by the current owner leaving the session, by a call to IDirectPlay4::SetGroupOwner, or, arbitrarily, by the lobby server in a lobby session.

typedef struct{
  DWORD   dwType;
  DPID    idGroup;
  DPID    idNewOwner;
  DPID    idOldOwner;
} DPMSG_SETGROUPOWNER, FAR *LPDPMSG_SETGROUPOWNER;
dwType
Value that identifies the message. This member is DPSYS_SETGROUPOWNER.
idGroup
ID of the group whose owner changed.
idNewOwner
ID of the player who is the new owner of the group.
idOldOwner
ID of the player who was the old owner of the group.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dplay.h.

See Also

IDirectPlay4::SetGroupOwner