SPFILENOTIFY_STARTRENAME message

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 value

The callback routine should return one of the following values.

Return code Description
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.

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

FILEPATHS

SetupCommitFileQueue

SetupDefaultQueueCallback