DirectX SDK

DirectPlaySessionData.GetGuidInstance

The DirectPlaySessionData.GetGuidInstance method retrieves the GUID of the session instance.

object.GetGuidInstance() As String

Parameters

object
Object expression that resolves to a DirectPlaySessionData object.

Return Values

The method returns the GUID assigned by the application to the session when it was created.

Error Codes

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