Sets a pointer to a callback function that is periodically called by DirectXSetup. The callback function can be used for setup progress notification and to implement a custom user interface for an application's setup program. For more information, see DirectXSetupCallbackFunction. If a setup program does not provide a callback function, DirectXSetupSetCallback is not invoked.
INT DirectXSetupSetCallback( DSETUP_CALLBACK Callback );
Currently returns 0.
To set a callback function, DirectXSetupSetCallback must be called before DirectXSetup is called.
The name of the callback function passed to DirectXSetupSetCallback is supplied by the setup program. However, it must match the prototype given in DirectXSetupCallbackFunction.
Header: Declared in Dsetup.h.