(SST) ShlWAPIFunctionInfo Version 1.0

Developer Reference
TSSTDllVerInfo.RetResourceFileSubtype Method
Retrieves a binary value from the version information resources of a file that denotes it as a specific type of executable or resoruce dll.
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 RetResourceFileSubtype() : DWORD;  
Parameters
None  
Return Values
Returns an unsigned integer that can be on one of the following values.
VFT2_UNKNOWN (= 0x00000000) The type of driver or font was not specified or is unknown.
VFT2_DRV_PRINTER (= 0x00000001) Identifies the executable as a printer driver.
VFT2_DRV_KEYBOARD (= 0x00000002) Identifies the executable as a keyboard driver.
VFT2_DRV_LANGUAGE (= 0x00000003) Identifies the executable as a language driver.
VFT2_DRV_DISPLAY (= 0x00000004) Identifies the executable as a display driver.
VFT2_DRV_MOUSE (= 0x00000005) Identifies the executable as a mouse driver.
VFT2_DRV_NETWORK (= 0x00000006) Identifies the executable as a network driver.
VFT2_DRV_SYSTEM (= 0x00000007) Identifies the executable as a system driver.
VFT2_DRV_INSTALLABLE (= 0x00000008) Identifies the executable as an installable (e.g. a multi-media) driver.
VFT2_DRV_SOUND (= 0x00000009) Identifies the executable as a sound driver.
VFT2_DRV_COMM (= 0x0000000A) Identifies the executable as a communications driver.
VFT2_DRV_INPUTMETHOD (= 0x0000000B) Undocumented in MS SDK Version 6.1.
VFT2_DRV_VERSIONED_PRINTER (= 0x0000000C) Identifies the executable as a versioned printer driver.
VFT2_FONT_RASTER (= 0x00000001) Identifies the executable as a raster font.
VFT2_FONT_VECTOR (= 0x00000002) Identifies the executable as a vector font.
VFT2_FONT_TRUETYPE (= 0x00000003) Identifies the executable as a true type font.
Remarks
The function only returns non-zero values for files that are either device drivers or fonts.
The returned value is not available in form of a separate property.
The function merely returns the "dwFileSubtype" member/field of the ResourceFixedFileInfo property.
Requirements
Unit (Declared and implemented in) SSTNewUnit.pas
Library SSTNewUnit.dcu/SSTNewUnit.obj
Unicode Implemented as ANSI version only.
See Also
TSSTDllVerInfo, DllFileName, RetResourceFileType, 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