Server.CreateGroup(GroupInformation,SyncFlags,Object,Object) Method (Microsoft.DirectX.DirectPlay)

Warning: This method is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.

Creates a group in the current session. When this method is called, the server's message handler receives a DPN_MSGID_CREATE_GROUP message. Deprecated.

Definition

Visual Basic Public Sub CreateGroup( _
    ByVal groupInformation As GroupInformation, _
    ByVal flags As SyncFlags, _
    ByVal groupContext As Object, _
    ByVal asyncContext As Object _
)
C# public void CreateGroup(
    GroupInformation groupInformation,
    SyncFlags flags,
    object groupContext,
    object asyncContext
);
C++ public:
void CreateGroup(
    GroupInformation groupInformation,
    SyncFlags flags,
    ObjectLeave SitegroupContext,
    ObjectLeave SiteasyncContext
);
JScript public function CreateGroup(
    groupInformation : GroupInformation,
    flags : SyncFlags,
    groupContext : ObjectLeave Site,
    asyncContext : ObjectLeave Site
);

Parameters

groupInformation Microsoft.DirectX.DirectPlay.GroupInformation
flags Microsoft.DirectX.DirectPlay.SyncFlags
groupContext System.Object
asyncContext System.Object