IDirectPlayLobby3::UnregisterApplication

IDirectPlayLobby3 Interface

Deletes the registration entries for a DirectPlay application. The entries must be removed when the application is uninstalled.

Syntax

HRESULT UnregisterApplication(
  DWORD dwFlags,
  REFGUID guidApplication
  );

Parameters

dwFlags
Reserved; must be zero.
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 Value

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.

See Also

IDirectPlayLobby3::RegisterApplication


Top of Page Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.