| DirectX SDK |
The DirectPlayLobby3.UnregisterApplication method deletes the registry entries for a DirectPlay application.
object.UnregisterApplication(GuidApplication As String)
If the method fails, an error is raised and Err.Number may be set to one of the following values:
| DPERR_INVALIDFLAGS |
| DPERR_INVALIDPARAMS |
| DPERR_UNKNOWNAPPLICATION |
The method returns DPERR_UNKNOWNAPPLICATION if the GUID of the application could not be found in the registry.