SPFILENOTIFY_STARTCOPY

The SPFILENOTIFY_STARTCOPY notification is sent to the callback function when the queue starts a file copy operation.

SPFILENOTIFY_STARTCOPY
    Param1 = (UINT) FilePathInfo;
    Param2 = (UINT) Operation;
 

Parameters

Param1
Pointer to a FILEPATHS structure.
Param2
Always has the value FILEOP_COPY.

Return Values

The callback routine should return one of the following values.

Value Meaning
FILEOP_ABORT Abort the queue commit process. The callback routine should call SetLastError to indicate the reason for termination. The SetupCommitFileQueue function returns FALSE and a subsequent call to GetLastError returns the error code set by the callback routine during the call to SetLastError.
FILEOP_DOIT Perform the file copy operation.
FILEOP_SKIP Skip the current copy operation.

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, FILEPATHS, SetupCommitFileQueue, SetupDefaultQueueCallback