SPFILENOTIFY_STARTCOPY message

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 value

The callback routine should return one of the following values.

Return codeDescription
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.

 

Requirements

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

 

 

Show: