SOURCE_MEDIA structure

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

Syntax


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

Optional tag file that can be used to identify the source media.

Description

Human-readable description of the source media.

SourcePath

Path to the source that needs the new media.

SourceFile

Source file to be retrieved from the new media.

Flags

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Setupapi.h

See also

Overview
Structures
SPFILENOTIFY_NEEDMEDIA

 

 

Community Additions

ADD
Show: