![]() |
(SST) ShlWAPIFunctionInfo Version 1.0 |
---|---|
Developer Reference |
Formats the value(s) returned when reading property ResourceLanguageId so that it/they can be specified as the string that identifies the language and codepage combination for which the version information is to be retrieved. |
Scope |
---|
Protected (i.e. the method can only be accessed from code in a descendant class or the unit it which it is implemented). |
Syntax | |
---|---|
Function WinResLanguageIdAsString(awinreslangidrec : TSSTWinResLanguageId) : STRING; |
Parameters | |
---|---|
awinreslangidrec [in] | A record/structure of type TSSTWinResLanguageId that specifies the language identifier and codepage values to convert into string. |
Return Values |
---|
A string representation of the language identifier and codepage. |
Remarks |
---|
The function calls the Delphi SDK "Format" function to convert the numerical value(s) into a string. |
The returned string has the format TSSTWinResLanguageId.wLanguageId TSSTWinResLanguageId.wIbmCodePage (without a blank/space separating the values) in hexadecimal notation. For example, the string returned for resources defined for LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US (= 1033) and the UTF-16, little endian byte order, Unicode, code page (= 1200) would be : 040904B0. |
Requirements | |
---|---|
Unit | (Declared and implemented in) SSTNewUnit.pas |
Library | SSTNewUnit.dcu/SSTNewUnit.obj |
Unicode | Implemented as ANSI version only. |
See Also |
---|
TSSTDllVerInfo, ResourceLanguageId, ResourceLanguageIdAsStr, RetResourceLanguageIdAsStr, WinApiGetResourceLanguageId, Source Code. |
Windows APIs: GetLastError, SetLastError |
Document/Contents version 1.00 Page/URI last updated on April 28, 2022 |
Copyright © Stoelzel Software Technologie (SST) 2010 - 2017 |
Suggestions and comments mail to: webmaster@stoelzelsoftwaretech.com |