Microsoft DirectX 9.0

Customizing Setup

Microsoft DirectSetup enables you to define a callback function for customizing the Microsoft?DirectX?setup process. In the DirectSetup documentation, this callback function is referred to as DirectXSetupCallbackFunction, but you can give it any name.

If a callback function is not provided by the setup program, the DirectXSetup function displays status and error information in a dialog box and obtains user input by calling the Microsoft Win32MessageBox function. If a callback is provided, the information that would have been used to create the status dialog or message box is instead passed to the callback. The callback function is called once for each DirectX component and device driver that can be installed or upgraded.

You can use the callback function to do the following:

For help customizing your setup, see Creating a DirectSetup Callback Function.

© 2002 Microsoft Corporation. All rights reserved.