SOURCE_MEDIA

The SOURCE_MEDIA structure is used with the SPFILENOTIFY_NEEDMEDIA notification to pass source media information.

typedef struct _SOURCE_MEDIA {
    PCTSTR Reserved;
    PCTSTR Tagfile; 
    PCTSTR Description;
    PCTSTR SourcePath;
    PCTSTR SourceFile;
    DWORD  Flags;
} SOURCE_MEDIA, *PSOURCE_MEDIA;
 

Members

Reserved
This member is not currently used.
Tagfile
This optional member specifies the tag file that can be used to identify the source media.
Description
The human-readable description of the source media.
SourcePath
The path to the source that needs the new media.
SourceFile
The source file to be retrieved from the new media.
Flags
Specifies copy style information that modifies how errors are handled. This member can be one or more 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_FLAG_CABINETCONTINUATION
The current source file is continued in another cabinet file.
SP_COPY_NOBROWSE
Do not offer the user the option to browse.

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, Structures, SPFILENOTIFY_NEEDMEDIA