This method of the DirectPlay2 Class creates a DirectPlay object.
public IDirectPlay2 create(_Guid g);
Returns the DirectPlay object if successful; null otherwise.
g | A _Guid object that specifies the globally unique identifier (GUID) that represents the service provider that should be created. |
This function attempts to initialize a DirectPlay object. You should call the enumServiceProviders method immediately before initialization to determine what types of service providers are available (enumServiceProviders fills in the g parameter for create).