DirectXUnRegisterApplication
Microsoft DirectX 9.0 SDK Update (October 2004)

DirectXUnRegisterApplication Function


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

Syntax

int 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 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.



Remarks

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 theIDirectPlay8LobbiedApplication::UnregisterProgram method instead.

Function Information

Headerdsetup.h
Import librarydsetup.lib
Minimum operating systems Windows 98

See Also

DirectXRegisterApplication


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.