If a setup program provides a callback function to DirectSetup, it does so by calling the DirectXSetupSetCallback function before the DirectXSetup function. A pointer to the callback function is passed as a parameter to the DirectXSetupSetCallback function. See DirectXSetupSetCallback, and An Example Callback Function for details.