About DirectSetup

DirectSetup is a simple application programming interface (API) that provides you with one-call installation of the DirectX components. This is more than a convenience—DirectX is a complex product, and installing it is an involved task. You should not attempt to install DirectX manually.

DirectSetup also provides an automated way to install the appropriate Microsoft® Windows® registry information for applications that use the DirectPlayLobby object. This registry information is required for the DirectPlayLobby object to enumerate and start the application.

DirectSetup includes the following API functions:

DirectXRegisterApplication
DirectXUnRegisterApplication
DirectXSetup
DirectXSetupSetCallback

It also includes a prototype DirectXSetupCallbackFunction that can be defined by an application in order to customize the user interface during the installation process. The DirectX Programmer's Reference includes a sample application that demonstrates the use of this callback function; for more information, see Dinstall.