FILEPATHS
[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 Notifications
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_COPYERROR
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_FILEOPDELAYED
FILEOP_DELETE |
A file
delete operation was delayed. |
FILEOP_COPY |
A file copy
operation was delayed. |