Setting the Callback Function

Before calling DirectXSetup, you must notify DirectSetup that you wish to use a callback. You do so by calling the DirectXSetupSetCallback function, passing a pointer to the callback as a parameter. The following example shows how this is done:

DirectXSetupSetCallback(
        (DSETUP_CALLBACK) DirectXSetupCallbackFunction);