SPFILENOTIFY_QUEUESCAN

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 specifiying the flag SPQ_SCAN_USE_CALLBACK.

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

Parameters

Param1
Specifies a 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 Values

The callback routine should return a Win32 error code.

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

Note This notification is not handled by the SetupDefaultQueueCallback function.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in setupapi.h.

See Also

Overview, Notifications, SetupScanFileQueue