MediaGetDataEx
InstallShield 2022 » InstallScript Language Reference
Project:This information applies to InstallScript projects.
The MediaGetDataEx function retrieves information about a file media library, including media information that is stored in the project’s string entries.
Syntax
MediaGetDataEx ( szMediaSource, nInfo, nvResult, svResult, bCheckStringTable );
Parameters
Parameter |
Description |
||||||||||||||||||||||||||||||
szMediaSource |
Specifies the name of the file media library whose information is to be retrieved; typically, the value of this argument is the system variable MEDIA. |
||||||||||||||||||||||||||||||
nInfo |
Specifies the type of information to retrieve. Pass one of the following predefined constants in this parameter:
MEDIA_FLAG_FORMAT_DIFFERENTIAL: Indicates a differential file media library. MEDIA_FLAG_UPDATEMODE_SUPPORTED: Indicates an update enabled file media library. This flag is always set.
|
||||||||||||||||||||||||||||||
nInfo (cont.) |
|
||||||||||||||||||||||||||||||
bCheckStringTable |
Specifies whether svResult returns the string that you entered in InstallShield (FALSE) or, if the string that you entered in InstallShield is a string identifier, the string value that is associated with that identifier (TRUE). If bCheckStringTable is TRUE but the string that you entered in InstallShield is not a string identifier, svResult returns the string that you entered in InstallShield. |
Return Values
Return Value |
Description |
0 |
MediaGetData successfully retrieved the requested information. |
< 0 |
MediaGetData failed to retrieve the requested information. |