SPFILENOTIFY_QUEUESCAN message

The SPFILENOTIFY_QUEUESCAN notification is sent to a callback routine by SetupScanFileQueue for each node in the copy subqueue of the file queue. This only occurs if the SetupScanFileQueue function was called specifying the flag SPQ_SCAN_USE_CALLBACK.

SPFILENOTIFY_QUEUESCAN
  Param1 = (UINT) TargetPath;
  Param2 = (UINT) DelayFlag;
            

Parameters

Param1

Null-terminated string that specifies the target path information for the file queued in the current node.

Param2

If the file in the current node of the queue is in use, Param2 takes the value SPQ_DELAYED_COPY. If the file is not in use, the value is zero.

Return value

The callback routine should return a system error code.

If the callback routine returns NO_ERROR, the queue scan continues. If the routine returns any other error code, the queue scan aborts and SetupScanFileQueue returns FALSE.

Note

This notification is not handled by the SetupDefaultQueueCallback function.

Requirements

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

See also

Overview

Notifications

SetupScanFileQueue