Microsoft SDK for Java

create

This method of the DirectPlay2 Class creates a DirectPlay object.

Syntax

public IDirectPlay2 create(_Guid g);

Return Value

Returns the DirectPlay object if successful; null otherwise.

Parameters

g A _Guid object that specifies the globally unique identifier (GUID) that represents the service provider that should be created.

Remarks

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).

See Also

enumServiceProviders

© 1999 Microsoft Corporation. All rights reserved. Terms of use.