(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
TSSTDllVerInfo.fversioninfosize Member Variable
Member variable that specifies the size of the version information resources and the buffer into which they are copied for further processing.
Scope
Protected (i.e. the variable can only be accessed from code in a descendant class or the unit it which it is implemented).
Syntax
fversioninfosize : INTEGER;
Values
As a signed 32-bit (4 byte) integer, this variable will accept values in the range from 2147483648 thru (and including) 2147483647. However, as this variable is used to store the size of the version information, resource data in number of bytes, all negative values are obviously invalid and indicate an error.
Remarks
The value stored in this member variable is also available in form of property ResourceVersionInfoSize and reading this property should be preferred to referencing the variable directly.
The variable is assigned its values in method RetResourceVersionInfoSize. Provided the file specified in property DllFileName exists, it is subsequently updated during every call to RetResourceVersionInfoSize and therefore whenever property ResourceVersionInfoSize is read.
This member variable is primarily present to simplify implementing code in the methods of descendant classes that compare the size of the required buffer to that presently allocated. It is also useful when overriding method RetResourceVersionInfo in order to enhance performance, for example, when reading multiple properties in a single method.
Requirements
Unit (Declared and implemented in) SSTNewUnit.pas
Library SSTNewUnit.dcu/SSTNewUnit.obj
See Also
TSSTDllVerInfo, ResourceVersionInfoSize, RetResourceVersionInfoSize, DllFileName, Source Code.
Windows APIs: GetLastError, SetLastError


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:
webmaster@stoelzelsoftwaretech.com