SPFILENOTIFY_STARTSUBQUEUE message

The SPFILENOTIFY_STARTSUBQUEUE notification is sent to the callback function when the queue starts to process the operations in the delete, rename, or copy subqueue.

SPFILENOTIFY_STARTSUBQUEUE
  Param1 = (UINT) SubQueue;
  Param2 = (UINT) NumOperations;
            

Parameters

Param1

Subqueue that has been started. This parameter can be any one of the values FILEOP_DELETE, FILEOP_RENAME, or FILEOP_COPY.

Param2

Number of file copy, rename, or delete operations in the subqueue.

Return value

If an error occurs, the callback routine should call SetLastError, specifying the error, and then return zero. The SetupCommitFileQueue function will return FALSE and a subsequent call to GetLastError will return the error code set by the callback routine.

If no error occurs, the callback routine should return a nonzero value.

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

SetupCommitFileQueue

SetupDefaultQueueCallback