Microsoft DirectX 8.0 (Visual Basic)

Setting the Callback Function

Before calling DirectXSetup, notify Microsoft® DirectSetup® that you want to use a callback 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);