RegDBQueryStringMultiStringCount
InstallShield 2024 » InstallScript Language Reference
Project:
The RegDBQueryStringMultiStringCount function returns the number of strings contained in the multistring value specified by szValue under the key specified by szKey.
Note:This function supports the 64-bit parts of the registry by using the REGDB_OPTION_WOW64_64KEY option. For more information, see REGDB_OPTIONS.
Syntax
RegDBQueryStringMultiStringCount ( szKey, szValue );
Parameters
Parameter |
Description |
szKey |
Specifies a key under the root key that was set by a previous call to RegDBSetDefaultRoot. Use backslashes to specify deeper levels of subkeys. To specify the root key, pass a null string (""). |
szValue |
Specifies the multistring value under szKey to check. |
Return Values
Return Value |
Description |
X |
The number of substrings in the specified multistring value under the specified key. |
< ISERR_SUCCESS |
Indicates that the function could not determine the number of substrings. You can obtain the error message text associated with a large negative return value—for example, -2147024891 (0x80070005)—by calling FormatMessage. |
Additional Information
• | RegDBQueryStringMultiStringCount is a general registry-related function, designed to work with all registry keys, including those handled by the special registry-related functions. For more information on special registry-related functions, see Special Registry-Related Functions. |
• | By default, any text that is surrounded by angle brackets—for example, "<my registry entry text>"—in this function’s string arguments is interpreted as a text substitution and is processed accordingly. To disable text substitution processing for the string arguments of registry functions, call Disable with the REGISTRYFUNCTIONS_USETEXTSUBS argument. |
See Also