- 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
DBGVER.H
Package: MSDN_VC98.zip [view]
Upload User: bangxh
Upload Date: 2007-01-31
Package Size: 42235k
Code Size: 3k
Category:
Windows Develop
Development Platform:
Visual C++
- /*++
- Copyright (c) 1992-1997 Microsoft Corporation
- Module Name:
- dbgver.h
- Abstract:
- Environment:
- Win32, User Mode
- --*/
- #if ! defined _DBGVER_
- #define _DBGVER_
- /*
- ** DBG_API_VERSION is the major version number used to specify the
- ** api version of the debugger or debug dll. For release versions
- ** dlls will export this and debuggers will check against this
- ** version to verify that it can use the dll.
- **
- ** For beta and debug versions, this number will be used in
- ** conjunction with minor and revision numbers (probably derived
- ** from SLM rmm & rup) to verify compatibility.
- **
- ** Until the API has stabilized, we will most likely have to
- ** rev this version number for every major product release.
- **
- */
- #include <dbapiver.h>
- /* AVS - Api Version Structure:
- **
- ** All debug dlls should be prepared to return a pointer to this
- ** structure conaining its vital statistics. The debugger should
- ** check first two characters of the dll's name against rgchType
- ** and the version numbers as described in the DBG_API_VERSION
- ** and show the user an error if any of these tests fail.
- **
- */
- typedef enum {
- rlvtRelease,
- rlvtBeta,
- rlvtDebug
- } RLVT; // ReLease Version Type
- typedef struct _AVS {
- CHAR rgchType [ 2 ]; // Component name (EE,EM,TL,SH,DM)
- WORD rlvt; // ReLease Version Type
- BYTE iApiVer; // DBG_API_VERSION
- BYTE iApiSubVer; // DBG_API_SUBVERSION
- WORD iRup; // Revision number
- WORD chBuild; // Build of revision # (a,b,c,d)
- LSZ lszTitle; // User readable text describing the DLL
- MPT mpt; // CPU binary is running on
- WORD iRmj; // Major version number
- WORD iRmm; // Minor version number
- } AVS; // Api Version Structure
- typedef AVS FAR *LPAVS;
- /* DBGVersionCheck:
- **
- ** All debug dlls should provide this API and support the return
- ** of a pointer to the structure described above even before
- ** initialization takes place.
- */
- #if defined(_M_IX86)
- #define __dbgver_cpu__ mptix86
- #elif defined(_M_MRX000)
- #define __dbgver_cpu__ mptmips
- #elif defined(_M_ALPHA)
- #define __dbgver_cpu__ mptdaxp
- #elif defined(_M_PPC)
- #define __dbgver_cpu__ mptmppc
- #else
- #error( "unknown target machine" );
- #endif
- #define DEBUG_VERSION(C1,C2,TITLE)
- AVS Avs = {
- { C1, C2 },
- rlvtDebug,
- DBG_API_VERSION,
- DBG_API_SUBVERSION,
- 0,
- '',
- TITLE,
- __dbgver_cpu__,
- 0,
- 0,
- };
- #define RELEASE_VERSION(C1,C2,TITLE)
- AVS Avs = {
- { C1, C2 },
- rlvtRelease,
- DBG_API_VERSION,
- DBG_API_SUBVERSION,
- 0,
- '',
- TITLE,
- __dbgver_cpu__,
- 0,
- 0,
- };
- #undef MINOR
- #undef MAJOR
- typedef LPAVS (LOADDS EXPCALL FAR *DBGVERSIONCHECK)(void);
- #define DBGVERSIONPROCNAME "DBGVersionCheck"
- typedef LPAVS (*DBGVERSIONPROC)(void);
- LPAVS LOADDS EXPCALL FAR DBGVersionCheck( void );
- #define DBGVERSIONFUNCTION()
- LPAVS LOADDS EXPCALL FAR DBGVersionCheck( void ) { return &Avs; }
- #endif // _DBGVER_