Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

FileCallback callback function

[This function is available for use in the operating systems indicated in the Requirements section. It may be altered or unavailable in subsequent versions. SetupAPI should no longer be used for installing applications. Instead, use the Windows Installer for developing application installers. SetupAPI continues to be used for installing device drivers.]

The FileCallback callback function is used by a few setup functions. The PSP_FILE_CALLBACK type defines a pointer to this callback function. FileCallback is a placeholder for the application-defined function name.

For more information, see Notifications, Creating a Custom Queue Callback Routine, and Creating a Cabinet Callback Routine.

Syntax


UINT PSP_FILE_CALLBACK(
  PVOID Context,
  UINT Notification,
  UINT_PTR Param1,
  UINT_PTR Param2
);

Parameters

Context

The context information about the queue notification that is returned to the callback function.

Notification

The event that triggers the call to the callback function.

Param1

The additional notification information. The value is dependent on the notification that is being returned.

Param2

The additional notification information. The value is dependent on the notification that is being returned.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Unicode and ANSI names

PSP_FILE_CALLBACKW (Unicode) and PSP_FILE_CALLBACKA (ANSI)

See also

Overview
SetupCommitFileQueue
SetupInstallFile
SetupInstallFileEx
SetupInstallFromInfSection
SetupIterateCabinet

 

 

Community Additions

ADD
Show:
© 2015 Microsoft