?/TD>
Microsoft DirectX 9.0

DirectXSetupSetCallback Function


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.

Syntax

INT DirectXSetupSetCallback(      

    DSETUP_CALLBACK Callback );

Parameters

Callback
Address of a callback function.

Return Value

Currently returns 0.



Remarks

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.

Function Information

Headerdsetup.h
Import librarydsetup.lib
Minimum operating systems Windows 98

See Also

DirectXSetupCallbackFunction, DirectXSetup


© 2002 Microsoft Corporation. All rights reserved.