9#if (defined(_LP64) || defined(__LP64__)) && !defined(_M_AMD64)
17#define __int64 long long
21#if defined(_MSC_VER) && (_MSC_VER < 1300)
22#error Old MSVC compiler version.
29#if defined(_MSC_VER) && !defined(MIDL_PASS) && !defined(RC_INVOKED)
30 #define POINTER_64 __ptr64
32 #define POINTER_32 __ptr32
41#if defined(_M_MRX000) || defined(_M_AMD64) || defined(_M_IA64)
47#if defined(_IA64_) || defined(_AMD64_)
50 #define FIRMWARE_PTR POINTER_32
54#define POINTER_SIGNED __sptr
55#define POINTER_UNSIGNED __uptr
58#define POINTER_UNSIGNED
61#define SPOINTER_32 POINTER_SIGNED POINTER_32
62#define UPOINTER_32 POINTER_UNSIGNED POINTER_32
65#define __int3264 __int64
70#define ADDRESS_TAG_BIT 0x40000000000UI64
71#define Handle32ToHandle( h ) ((HANDLE)(LONG_PTR)(LONG)(h))
73#define __int3264 __int32
74#define ADDRESS_TAG_BIT 0x80000000UL
79#define HandleToUlong( h ) ((ULONG)(ULONG_PTR)(h) )
80#define HandleToLong( h ) ((LONG)(LONG_PTR) (h) )
81#define ULongToHandle( h) ((HANDLE)(ULONG_PTR) (h))
82#define LongToHandle( h) ((HANDLE)(LONG_PTR) (h))
83#define PtrToUlong( p ) ((ULONG)(ULONG_PTR) (p) )
84#define PtrToLong( p ) ((LONG)(LONG_PTR) (p) )
85#define PtrToUint( p ) ((UINT)(UINT_PTR) (p) )
86#define PtrToInt( p ) ((INT)(INT_PTR) (p) )
87#define PtrToUshort( p ) ((unsigned short)(ULONG_PTR)(p) )
88#define PtrToShort( p ) ((short)(LONG_PTR)(p) )
89#define IntToPtr( i ) ((VOID*)(INT_PTR)((int)i))
90#define UIntToPtr( ui ) ((VOID*)(UINT_PTR)((unsigned int)ui))
91#define LongToPtr( l ) ((VOID*)(LONG_PTR)((long)l))
92#define ULongToPtr( ul ) ((VOID*)(ULONG_PTR)((unsigned long)ul))
95#define HandleToULong(h) HandleToUlong(h)
97#define UlongToHandle(ul) ULongToHandle(ul)
98#define UlongToPtr(ul) ULongToPtr(ul)
99#define UintToPtr(ui) UIntToPtr(ui)
100#define MAXUINT_PTR (~((UINT_PTR)0))
101#define MAXINT_PTR ((INT_PTR)(MAXUINT_PTR >> 1))
102#define MININT_PTR (~MAXINT_PTR)
103#define MAXULONG_PTR (~((ULONG_PTR)0))
104#define MAXLONG_PTR ((LONG_PTR)(MAXULONG_PTR >> 1))
105#define MINLONG_PTR (~MAXLONG_PTR)
106#define MAXUHALF_PTR ((UHALF_PTR)~0)
107#define MAXHALF_PTR ((HALF_PTR)(MAXUHALF_PTR >> 1))
108#define MINHALF_PTR (~MAXHALF_PTR)
110#if _WIN32_WINNT >= 0x0600
112#define MAXUINT ((UINT)~((UINT)0))
113#define MAXULONGLONG ((ULONGLONG)~((ULONGLONG)0))
133#if !defined(__midl) && !defined(__WIDL__)
142static inline unsigned long PtrToUlong(
const void*
p)
144static inline unsigned int PtrToUint(
const void*
p )
146static inline unsigned short PtrToUshort(
const void*
p )
150static inline int PtrToInt(
const void*
p )
154static inline void*
IntToPtr(
const int i )
156static inline void*
UIntToPtr(
const unsigned int ui)
160static inline void*
ULongToPtr(
const unsigned long ul )
164#ifndef __ROS_LONG64__
172#ifndef LONG_PTR_DEFINED
173#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