11#define __int64 long long
15#if defined(_MSC_VER) && (_MSC_VER < 1300)
16#error Old MSVC compiler version.
23#if defined(_MSC_VER) && !defined(MIDL_PASS) && !defined(RC_INVOKED)
24 #define POINTER_64 __ptr64
26 #define POINTER_32 __ptr32
35#if defined(_M_MRX000) || defined(_M_AMD64) || defined(_M_IA64)
41#if defined(_IA64_) || defined(_AMD64_)
44 #define FIRMWARE_PTR POINTER_32
48#define POINTER_SIGNED __sptr
49#define POINTER_UNSIGNED __uptr
52#define POINTER_UNSIGNED
55#define SPOINTER_32 POINTER_SIGNED POINTER_32
56#define UPOINTER_32 POINTER_UNSIGNED POINTER_32
59#define __int3264 __int64
64#define ADDRESS_TAG_BIT 0x40000000000UI64
65#define Handle32ToHandle( h ) ((HANDLE)(LONG_PTR)(LONG)(h))
67#define __int3264 __int32
68#define ADDRESS_TAG_BIT 0x80000000UL
73#define HandleToUlong( h ) ((ULONG)(ULONG_PTR)(h) )
74#define HandleToLong( h ) ((LONG)(LONG_PTR) (h) )
75#define ULongToHandle( h) ((HANDLE)(ULONG_PTR) (h))
76#define LongToHandle( h) ((HANDLE)(LONG_PTR) (h))
77#define PtrToUlong( p ) ((ULONG)(ULONG_PTR) (p) )
78#define PtrToLong( p ) ((LONG)(LONG_PTR) (p) )
79#define PtrToUint( p ) ((UINT)(UINT_PTR) (p) )
80#define PtrToInt( p ) ((INT)(INT_PTR) (p) )
81#define PtrToUshort( p ) ((unsigned short)(ULONG_PTR)(p) )
82#define PtrToShort( p ) ((short)(LONG_PTR)(p) )
83#define IntToPtr( i ) ((VOID*)(INT_PTR)((int)i))
84#define UIntToPtr( ui ) ((VOID*)(UINT_PTR)((unsigned int)ui))
85#define LongToPtr( l ) ((VOID*)(LONG_PTR)((long)l))
86#define ULongToPtr( ul ) ((VOID*)(ULONG_PTR)((unsigned long)ul))
89#define HandleToULong(h) HandleToUlong(h)
91#define UlongToHandle(ul) ULongToHandle(ul)
92#define UlongToPtr(ul) ULongToPtr(ul)
93#define UintToPtr(ui) UIntToPtr(ui)
94#define MAXUINT_PTR (~((UINT_PTR)0))
95#define MAXINT_PTR ((INT_PTR)(MAXUINT_PTR >> 1))
96#define MININT_PTR (~MAXINT_PTR)
97#define MAXULONG_PTR (~((ULONG_PTR)0))
98#define MAXLONG_PTR ((LONG_PTR)(MAXULONG_PTR >> 1))
99#define MINLONG_PTR (~MAXLONG_PTR)
100#define MAXUHALF_PTR ((UHALF_PTR)~0)
101#define MAXHALF_PTR ((HALF_PTR)(MAXUHALF_PTR >> 1))
102#define MINHALF_PTR (~MAXHALF_PTR)
104#if _WIN32_WINNT >= 0x0600
106#define MAXUINT ((UINT)~((UINT)0))
107#define MAXULONGLONG ((ULONGLONG)~((ULONGLONG)0))
127#if !defined(__midl) && !defined(__WIDL__)
136static inline unsigned long PtrToUlong(
const void*
p)
138static inline unsigned int PtrToUint(
const void*
p )
140static inline unsigned short PtrToUshort(
const void*
p )
144static inline int PtrToInt(
const void*
p )
148static inline void*
IntToPtr(
const int i )
150static inline void*
UIntToPtr(
const unsigned int ui)
154static inline void*
ULongToPtr(
const unsigned long ul )
158#ifndef __ROS_LONG64__
166#ifndef LONG_PTR_DEFINED
167#define LONG_PTR_DEFINED
unsigned long POINTER_64_INT
unsigned __int64 * PULONG64
unsigned long * PULONG_PTR
unsigned __int64 * PUINT64
unsigned short * PUHALF_PTR
unsigned __int64 * PDWORD64
GLfloat GLfloat GLfloat GLfloat h
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
unsigned __int3264 UINT_PTR