DirectXSetupShowEULA

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

int DirectXSetupShowEULA(
  HWND hWndParent
);

Parameters

hWndParent
Handle of the parent window for the EULA dialog boxes.

Return Values

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.

Remarks

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 API displays the DirectX 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.

Requirements

Header: Declared in Dsetup.h.