SPFILENOTIFY_FILEOPDELAYED message

The SPFILENOTIFY_FILEOPDELAYED notification is sent by SetupInstallFileEx or SetupCommitFileQueue to a callback routine when a file operation was delayed because the file was in use. The operation will be processed the next time the system is rebooted.



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

Parameters

Param1

Pointer to a FILEPATHS structure.

If the delayed operation is a file copy operation, the FILEPATHS structure contains the following information.

FILEPATHS memberValue
Win32ErrorNO_ERROR
FlagsFILEOP_COPY
SourceFull path of the temporary file.
TargetFull path of the actual target file.

 

This temporary file will be copied to the target directory when the system is rebooted. The setup functions automatically generate a path for the temporary file.

If the delayed operation is a file delete operation, the FILEPATHS structure contains the following information.

FILEPATHS memberValue
Win32ErrorNO_ERROR
FlagsFILEOP_DELETE
SourceNULL
TargetFull path of the file to be deleted.

 

Param2

Is not used.

Return value

The return value is ignored.

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
SetupInstallFile
SetupInstallFileEx
SetupInstallFromInfSection

 

 

Show: