Microsoft DirectX 9.0

DirectXUnRegisterApplication Function

Deletes the registration of an application designed to work with IDirectPlayLobby3.


int DirectXUnRegisterApplication(      

    HWND hWnd,     LPGUID lpGUID );


Handle of the parent window. Set this to NULL if the desktop is the parent window.
Address of a globally unique identifier (GUID) that represents the Microsoft?DirectPlay?application to be unregistered.

Return Value

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

If the function fails, the return value is FALSE.


The DirectXUnRegisterApplication function has to have both Dsetup.dll and Dsetup32.dll. These two files are not installed on the system but they are included in the software development kit (SDK).

DirectXUnRegisterApplication corresponds to the old IDirectPlayLobby3::UnregisterApplication method. It is recommended that you use the IDirectPlay8LobbiedApplication::UnRegisterProgram method instead.

Function Information

Import librarydsetup.lib
Minimum operating systems Windows 98

See Also


© 2002 Microsoft Corporation. All rights reserved.