?? rvcommon.h
字號:
/*NOTICE:This document contains information that is proprietary to RADVision LTD..No part of this publication may be reproduced in any form whatsoever without written prior approval by RADVision LTD..RADVision LTD. reserves the right to revise this publication and make changes without obligation to notify any person of such revisions or changes.*/ #ifndef __RVCOMMON_H#define __RVCOMMON_H
/*#define _EXAMINE_*/#ifdef __RV_SYS #define CDECL __cdecl#else #ifdef __RV_VXD #define CDECL __cdecl #else #define CDECL #endif#endif#ifdef __RV_SYS // Win NT sys drive #include <ntddk.h> #include <time.h> #define printf DbgPrint#else #ifdef __RV_VXD #pragma pack(8) #ifndef VToolsD // Not using VToolsD #include <memory.h> #include <malloc.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #else #include <vtoolsc.h> #define KdPrint(_x_) dprintf _x_ #endif //#define IS_32 #define BLD_COFF #include <basedef.h> #include <vmm.h> //#pragma VxD_LOCKED_CODE_SEG //#pragma VxD_LOCKED_DATA_SEG #pragma intrinsic(memcmp, memcpy, memset, strcat, strcmp, strcpy, strlen) #define printf_ printf #else #include <memory.h> #include <malloc.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <time.h>#endif#endif /* __RV_VXD */#include <rvstd.h>
#define WeAreRunningWindows/*#define NOFILESYSTEM*/typedef unsigned long UINTPTR;typedef signed long INTPTR;typedef unsigned long ULONG;typedef unsigned long DWORD;typedef unsigned char UCHAR;typedef unsigned short u_short;typedef unsigned int UINT32;typedef unsigned short UINT16;typedef unsigned char UINT8;typedef signed int INT32;typedef signed short INT16;typedef signed char INT8;typedef unsigned int UINT;typedef signed int INT;typedef unsigned char BYTE;#ifndef TRUE#define TRUE 1typedef unsigned BOOL;#endif#ifndef FALSE#define FALSE 0#endif#ifndef min#define min(a,b) (((a)<(b))?(a):(b))#endif#ifndef max#define max(a,b) (((a)>(b))?(a):(b))#endif#define bcopy(source, dest, size) memcpy((dest), (source), ((UINT16)size))#define bzero(buffer, size) memset((buffer), 0, ((UINT16)size))#ifdef __RV_VXD #define HUGE #define RVAPI #define CALLCONV __cdecl #define hfree free #define halloc calloc#else#ifdef __RV_SYS #define HUGE #define RVAPI #define CALLCONV __cdecl #define hfree(_pMem_) ExFreePool(_pMem_) #define calloc(_len_, _cnt_) memset(ExAllocatePool(NonPagedPool,_len_*_cnt_), 0, _len_*_cnt_) #define halloc calloc #define malloc(_size_) ExAllocatePool(NonPagedPool,_size_) #define free(_pMem_) ExFreePool(_pMem_) typedef unsigned BOOL;#else#if defined(WIN32) || defined(UNDER_CE) #define HUGE #define RVAPI __declspec(dllexport) #define CALLCONV __stdcall #define hfree free #define halloc calloc#else #define HUGE huge #define RVAPI #define CALLCONV far pascal __export #define printf #endif /* WIN32 */#endif /* __RV_SYS */#endif /* __RV_VXD */#ifndef RVVXDAPI #define RVVXDAPI RVAPI #define VXDCALLCONV CALLCONV#endif/*#define CALL_TIME*/#ifdef CALL_TIMEtypedef struct{ __int64 time; int number; int param; int len; char funct[20];}callTimeStructT;typedef struct{ callTimeStructT callTimeStruct[2000]; int callTimeNum;}callTimeT;__int64 callTimeGetTime() ;__int64 callTimeGetFr();extern callTimeT callTime;#endif#ifdef WIN32
#pragma warning (disable : 4706 4514 4310 4127 4206)
#endif
#endif /* __RVCOMMON_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -