SPFILENOTIFY_STARTRENAME

The SPFILENOTIFY_STARTRENAME notification is sent to the callback function when the queue starts a file rename operation.

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

Parameters

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

Return Values

The callback routine should return one of the following values.

Value Meaning
FILEOP_ABORT Abort the queue commit. The callback routine should call SetLastError to indicate the reason for termination. SetupCommitFileQueue 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