DirectX SDK |
This topic applies to applications written in C++. For information on distributing an application written in Visual Basic, see Installing DirectX for Visual Basic Applications.
DirectSetup is a simple API that provides 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® operating system 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 several API functions and structures. It also includes a prototype DirectXSetupCallbackFunction that can be defined by an application to customize the user interface during the installation process. The DirectX SDK includes a sample application that demonstrates the use of this callback function. For more information, see Dinstall Sample.