snmpdos.h
资源名称:win2ksrc.rar [点击查看]
上传用户:caisha3
上传日期:2013-09-21
资源大小:208739k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- /*++
- Copyright (c) 1992-1996 Microsoft Corporation
- Module Name:
- snmpdos.h
- Abstract:
- Definitions that only need to be present in the DOS testing environment.
- Environment:
- User Mode - Win32
- Revision History:
- 10-May-1996 DonRyan
- Removed banner from Technology Dynamics, Inc.
- --*/
- #ifndef snmpdos_h
- #define snmpdos_h
- //--------------------------- PUBLIC CONSTANTS ------------------------------
- #define TRUE 1
- #define FALSE 0
- #define SetLastError( X ) snmpErrno = X
- #define GetLastError() snmpErrno
- //--------------------------- PUBLIC STRUCTS --------------------------------
- // stuff really in windows.h...
- typedef unsigned long ULONG;
- typedef int INT;
- typedef unsigned int UINT;
- typedef unsigned char BYTE;
- typedef char far *LPSTR;
- typedef void VOID;
- // Define error support
- extern int snmpErrno;
- //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
- //--------------------------- PUBLIC PROTOTYPES -----------------------------
- //------------------------------- END ---------------------------------------
- #endif /* snmpdos_h */
English
