Platform SDK: DirectX

DirectXUnRegisterApplication

The DirectXUnRegisterApplication function deletes the registration of an application designed to work with DirectPlayLobby.

int WINAPI DirectXUnRegisterApplication(
  HWND   hWnd,   
  LPGUID lpGUID  
);

Parameters

hWnd
Handle of the parent window. Set this to NULL if the desktop is the parent window.
lpGUID
Address of a GUID that represents the DirectPlay application to be unregistered.

Return Values

If the function succeeds, the return value is TRUE, meaning that the registration is successfully deleted.

If the function fails, the return value is FALSE.

Remarks

The DirectXUnRegisterApplication function has to have both dsetup.dll and dsetup32.dll which in not installed on the system, but they are included in the SDK.

Although the DirectXRegisterApplication function inserts the registry entries needed for an application to operate with DirectPlayLobby, the recommend method to install and uninstall a lobby application is to use the IDirectPlayLobby3::RegisterApplication and IDirectPlayLobby3::UnregisterApplication. An uninstall program should only use DirectXUnRegisterApplication if it used DirectXRegisterApplication when the application was installed.

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 Dsetup.h.
  Import Library: Use Dsetup.lib.

See Also

DirectXRegisterApplication