DirectXSetupSetCallback

The DirectXSetupSetCallback 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 information on the callback function, see DirectXSetupCallbackFunction. If a setup program does not provide a callback function, the DirectXSetupSetCallback function should not be invoked.

INT WINAPI DirectXSetupSetCallback(

DSETUP_CALLBACK Callback // pointer to the callback function

);

Parameters

Callback

Pointer to a callback function.

Return Values

Currently returns zero.

Remarks

To set a callback function, DirectXSetupSetCallback must be called before the DirectXSetup function 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

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in dsetup.h.
  Import Library: Use dsetup.lib.

See Also

DirectXSetupCallbackFunction, DirectXSetup