SPFILENOTIFY_DELETEERROR message

The SPFILENOTIFY_DELETEERROR notification is sent to the callback routine if an error occurs during a file delete operation.

SPFILENOTIFY_DELETEERROR
  Param1 = (UINT) FilePathInfo;
  Param2 = (UINT) 0;
            

Parameters

Param1

Pointer to a FILEPATHS structure.

Param2

Unused.

Return value

The callback routine should return one of the following values.

Return code Description
FILEOP_ABORT
Queue processing should be canceled. SetupCommitFileQueue returns zero and GetLastError returns extended error information such as ERROR_CANCELLED (if the user canceled) or ERROR_NOT_ENOUGH_MEMORY.
FILEOP_RETRY
The user is attempting the delete operation again.
FILEOP_SKIP
The user is skipping the file delete 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