Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
version.h
Package: shell.rar [view]
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 2k
Category:
Windows Kernel
Development Platform:
Visual C++
- /*++
- Copyright (c) 1998 Microsoft Corporation
- Module Name:
- version.h
- Abstract:
- Declares the structures used for version checkings.
- Author:
- Calin Negreanu (calinn) 01/20/1999
- Revision History:
- --*/
- #pragma once
- #include <windows.h>
- #include <winnt.h>
- #define MAX_TRANSLATION 32
- typedef struct {
- WORD CodePage;
- WORD Language;
- } TRANSLATION, *PTRANSLATION;
- typedef struct {
- PBYTE VersionBuffer;
- PTRANSLATION Translations;
- PBYTE StringBuffer;
- UINT Size;
- DWORD Handle;
- VS_FIXEDFILEINFO *FixedInfo;
- UINT FixedInfoSize;
- TCHAR TranslationStr[MAX_TRANSLATION];
- UINT MaxTranslations;
- UINT CurrentTranslation;
- UINT CurrentDefaultTranslation;
- PCTSTR FileSpec;
- PCTSTR VersionField;
- } VERSION_STRUCT, *PVERSION_STRUCT;
- BOOL
- ShCreateVersionStruct (
- OUT PVERSION_STRUCT VersionStruct,
- IN PCTSTR FileSpec
- );
- VOID
- ShDestroyVersionStruct (
- IN PVERSION_STRUCT VersionStruct
- );
- ULONGLONG
- ShVerGetFileVer (
- IN PVERSION_STRUCT VersionStruct
- );
- ULONGLONG
- ShVerGetProductVer (
- IN PVERSION_STRUCT VersionStruct
- );
- DWORD
- ShVerGetFileDateLo (
- IN PVERSION_STRUCT VersionStruct
- );
- DWORD
- ShVerGetFileDateHi (
- IN PVERSION_STRUCT VersionStruct
- );
- DWORD
- ShVerGetFileVerOs (
- IN PVERSION_STRUCT VersionStruct
- );
- DWORD
- ShVerGetFileVerType (
- IN PVERSION_STRUCT VersionStruct
- );
- BOOL
- ShGlobalVersionCheck (
- IN PVERSION_STRUCT VersionData,
- IN PCTSTR NameToCheck,
- IN PCTSTR ValueToCheck
- );