Platform SDK: DirectX

DirectX7.DirectPlayCreate

The DirectX7.DirectPlayCreate method creates a DirectPlay4 object.

object.DirectPlayCreate(guid As String) As DirectPlay4

Parameters

object
Object expression that resolves to a DirectX7 object.
guid
A GUID that identifies the service provider to be bound to the DirectPlay4 object, or an empty string. See Remarks.

Return Values

If the method succeeds, a DirectPlay4 object is returned.

Error Codes

If the method fails, an error is raised and Err.Number is set.

Remarks

If the guid parameter is an empty string, the DirectPlay connection is not initialized and the application must call DirectPlay4.InitializeConnection.

See Also

Using GUIDs