Export (0) Print
Expand All

FILEPATHS Structure

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.

Syntax

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

Members

Target

Path to the target file.

Source

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 member is the system error code. If no error has occurred, it is NO_ERROR.

Flags

Additional information that depends on the notification sent with the FILEPATHS structure.

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

ValueMeaning
SP_COPY_NOBROWSE

Do not offer the user the option to browse.

SP_COPY_NOSKIP

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

SP_COPY_WARNIFSKIP

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

 

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

ValueMeaning
FILEOP_COPY

A file copy operation was delayed.

FILEOP_DELETE

A file delete operation was delayed.

 

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Setupapi.h

See Also

Overview
Structures

 

 

Build date: 8/19/2010

Community Additions

ADD
Show:
© 2014 Microsoft