PSP_FILE_CALLBACK_A callback function (setupapi.h)

[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

PSP_FILE_CALLBACK_A PspFileCallbackA;

UINT PspFileCallbackA(
  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.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header setupapi.h

See also

Overview

SetupCommitFileQueue

SetupInstallFile

SetupInstallFileEx

SetupInstallFromInfSection

SetupIterateCabinet