Platform SDK: DirectX

IDirectPlayLobby3::UnregisterApplication

The IDirectPlayLobby3::UnregisterApplication method deletes the registration entries for a DirectPlay application. The entries must be removed when the application is uninstalled.

HRESULT UnregisterApplication(
  DWORD dwFlags,
  REFGUID guidApplication
);

Parameters

dwFlags
Reserved; must be 0.
guidApplication
The globally unique identifier (GUID) of the application to remove from the registry. In C, this parameter is a pointer to a GUID. In C++, it is a reference to a GUID.

Return Values

Returns DP_OK if successful, or one of the following error values otherwise:

DPERR_INVALIDFLAGS
DPERR_INVALIDPARAMS
DPERR_UNKNOWNAPPLICATION

The method returns DPERR_UNKNOWNAPPLICATION if the GUID of the application could not be found in the registry.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dplobby.h.
  Import Library: Use dplayx.lib.

See Also

IDirectPlayLobby3::RegisterApplication, DirectXUnregisterApplication