SPFILENOTIFY_FILEOPDELAYED

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.
FILEPATH member Value
Win32Error NO_ERROR
Flags FILEOP_COPY
Source The full Win32 path of the temporary 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.

Target Specifies the full Win32 path of the actual target file.

If the delayed operation is a file delete operation, the FILEPATHS structure contains the following information.
FILEPATH member Value
Win32Error NO_ERROR
Flags FILEOP_DELETE
Source NULL
Target Specifies the full Win32 path of the file to be deleted.

Param2
Is not used.

Return Values

The return value is ignored.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in setupapi.h.

See Also

Overview, Notifications, FILEPATHS, SetupCommitFileQueue, SetupInstallFile, SetupInstallFileEx, SetupInstallFromInfSection