FILEPATHS  IQJ1Y5 

[New - Windows NT]

The FILEPATHS structure stores source and target path information. The setup functions send the FILEPATHS structure as a parameter in several of the notifications sent to callback routines. For more information, see NotificationsJU8YEN.

typedef struct _FILEPATHS { 
    PCTSTR Target;
    PCTSTR Source; 
    UINT   Win32Error;
    DWORD  Flags;
} FILEPATHS, *PFILEPATHS;

 

Members

Target

The path to the target file.

Source

The path to the source file. This member is not used when the FILEPATHS structure is used with a file delete operation.

Win32Error

If an error occurs, this parameter takes the Win32 error value associated with the specified paths. If no error has occurred, it takes the value NO_ERROR.

Flags

Specifies additional information that depends on the notification sent with the FILEPATHS structure.

For SPFILENOTIFY_COPYERROR7GQX77 notifications, Flags specifies dialog box behavior and can be one of the following values.

SP_COPY_WARNIFSKIP

Inform the user that skipping the file may affect the installation.

SP_COPY_NOSKIP

Do not offer the user the option to skip the file.

SP_COPY_NOBROWSE

Do not offer the user the option to browse.

For SPFILENOTIFY_FILEOPDELAYED1OHBW68 notifications, Flags specifies the type of file operation delayed and can be one of the following values.

FILEOP_DELETE

A file delete operation was delayed.

FILEOP_COPY

A file copy operation was delayed.