Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
997 B

/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
INFSCAN
verinfo.h
Abstract:
Driver node Version management
History:
Created July 2001 - JamieHun
--*/
#ifndef _INFSCAN_VERINFO_H_
#define _INFSCAN_VERINFO_H_
class BasicVerInfo {
public:
DWORD PlatformMask;
DWORD VersionHigh;
DWORD VersionLow;
DWORD ProductType;
DWORD ProductSuite;
public:
int IsBetter(BasicVerInfo & other,BasicVerInfo & filter);
virtual bool IsCompatibleWith(BasicVerInfo & other);
BasicVerInfo();
int Parse(PTSTR verString);
};
class NodeVerInfo : public BasicVerInfo {
public:
SafeString Decoration;
bool Rejected;
public:
NodeVerInfo();
int IsBetter(NodeVerInfo & other,BasicVerInfo & filter);
int Parse(PTSTR verString);
int Parse(const SafeString & str);
};
typedef list<NodeVerInfo> NodeVerInfoList;
#endif //!_INFSCAN_VERINFO_H_