Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Get File Major/Minor Version Numbers (MISCFileVersion_WIN32)
SECRET//NOFORN
Miscellaneous Module
Stash Repository: Miscellaneous Library
Module Name: MISCFileVersion_WIN32
Module Description: Describe how the technique works. All the cool things it does. Describe how cool the module writer is, etc.
Usage:
/*
Gets the file version major and minor number using the GetFileVersionInfo Windows
API call.
*/
static BOOL GetFileMajorMinor(WCHAR *wcFilePath, DWORD &dwMajor, DWORD &dwMinor);
wcFilePath: The path to the file the version information should be extracted from.
dwMajor: Is returned with the major version number of the file.
dwMinor: is returned with the minor version number of the file.
Returns TRUE on success and FALSE on failure.
PSP/OS Issues: No known issues.
('excerpt' missing)
Sharing Level: Unilateral
Technique Origin: In-house (Windows APIApplication Programming Interface)
Notes: Any information that could be useful to anyone maintaining the code or using the code. i.e. This module uses Alternate Data Streams which are only available on NTFSNTMicrosoft operating system filesystem (Windows) volumes.
Module Return Codes:
Returns TRUE when successful and FALSE on failure
Example Code:
INCLUDE DESCRIPTIVE LABELS FOR EACH MODULE
SECRET//NOFORN