Microsoft DirectX 9.0

DirectXSetupShowEULA Function

Displays the Microsoft?DirectX®  end-user license agreement (EULA) in the system's localized language.


int WINAPI DirectXSetupShowEULA(      

    HWND hWndParent );


Handle of the parent window for the EULA dialog boxes.

Return Value

IDYES is returned if the user accepts the EULA and the application can continue with DirectSetup. Otherwise, IDNO is returned and the application must cancel DirectSetup.


Both the EULA and dialog box displaying the EULA are localized to the system language.

If hWndParent equals NULL then DirectSetup uses the desktop as the parent window.

DirectXSetupShowEULA should be called before proceeding with DirectSetup.

Even if the local language for the system is changed to another language, using, for example, a multilingual user interface package, this application programming interface (API) displays the DirectX user interface (UI) in the system language. To display the EULA for local languages other than the system language, use DirectXSetupGetEULA.

IDNO is returned if the user rejects the EULA or an internal setup error occurs.

Function Information

Import librarydsetup.lib
Minimum operating systems Windows 98

© 2002 Microsoft Corporation. All rights reserved.