DirectX SDK

DirectPlaySessionData.SetGuidApplication

The DirectPlaySessionData.SetGuidApplication method sets the GUID of the application in the session description.

object.SetGuidApplication(guid As String)

Parameters

object
Object expression that resolves to a DirectPlaySessionData object.
guid
GUID for the application. This member can be set to an empty string to enumerate sessions for any application.

Error Codes

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