![]() |
(SST) ShlWAPIFunctionInfo Version 1.0 |
---|---|
Developer Reference |
Retrieves the binary version number of the VS_FIXEDFILEINFO record/structure from within the version information resources of a Windows executable. |
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 RetResourceStrucVersion() : DWORD; |
Parameters | |
---|---|
None |
Return Values |
---|
Returns an unsigned, 32 bit, integer value that represents the major and minor version numbers of the record/structure, in the high- and low-order words respectively (e.g. if the returned value were $00030002 (0x00030002), $0003 (0x0003) would be the major version and $0002 (0x0002) the minor version). |
Remarks |
---|
The necessity for the "dwStrucVersion" member arises from the internal organization of the Windows Portable Executable (PE) file format, which makes different VS_FIXEDFILEINFO versions conceivable. However, we have not yet encountered or are aware of the existence, of versions other than 1.0. |
The function merely returns the "dwStrucVersion" member/field of the ResourceFixedFileInfo property. |
The returned value is not available in form of a separate property. |
Requirements | |
---|---|
Unit | (Declared and implemented in) SSTNewUnit.pas |
Library | SSTNewUnit.dcu/SSTNewUnit.obj |
Unicode | Implemented as ANSI version only. |
See Also |
---|
TSSTDllVerInfo, DllFileName, RetResourceSignature, ResourceFixedFileInfo, LastError, Source Code |
Windows APIs: VERSIONINFO Resource, VS_VERSIONINFO Structure, VS_FIXEDFILEINFO. |
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 |