|(SST) ShlWAPIFunctionInfo Version 1.0|
|Function that retrieves the string returned when reading property ResourceLegalTrademarks.|
|Protected (i.e. the method can only be accessed from code in a descendant class or the unit it which it is implemented).|
|Function RetResourceLegalTrademarks() : STRING;|
Returns the string extracted from the version information resources in the file specified in property DllFileName, provided the file contains a "VERSIONINFO" resource block/section and a value-string was assigned to the predefined "LegalTrademarks" string-name in the resource definition file.
The function returns an empty string if the file was linked without version information resources, the "LegalTrademarks" member/field was left empty by the publisher of the file, or an error occurred during execution.
|If the function returns an empty string due to an error, the class' LastError property may contain pertinent information on the nature of the fault in form of a Windows error code.|
|The function forms the sub-block, path string required to extract the actual resource, value string from hard-coded strings and property ResourceLanguageIdAsStr. It then calls function WinApiVerQueryValueStr with the resulting, concatenated string as the parameter.|
|The function always returns the version information of the first (i.e. the primary) language id.|
|Unit||(Declared and implemented in) SSTNewUnit.pas|
|Unicode||Implemented as ANSI version only.|
Document/Contents version 1.00
Page/URI last updated on April 30, 2022
Copyright © Stoelzel Software Technologie (SST) 2010 - 2017
Suggestions and comments mail to: