compatdef.h File Reference

(r1785/r1668)

Go to the source code of this file.

Classes

struct  RECT
struct  POINT
struct  RGBQUAD
struct  RGBTRIPLE
struct  PALETTEENTRY
struct  LOGPALETTE
struct  BITMAPINFOHEADER
struct  BITMAPCOREHEADER
struct  BITMAPINFO
struct  BITMAPFILEHEADER
struct  LOGBRUSH
struct  BITMAP
struct  DLGTEMPLATE
struct  DLGITEMTEMPLATE
struct  CDC
struct  ABC
struct  RGNDATA
struct  NEWTEXTMETRIC
struct  PAINTSTRUCT
class  IUnknown

Defines

#define USE_WXAUI
#define camIsalnum   wxIsalnum
#define camIsalpha   wxIsalpha
#define camIscntrl   wxIscntrl
#define camIsdigit   wxIsdigit
#define camIsgraph   wxIsgraph
#define camIslower   wxIslower
#define camIsprint   wxIsprint
#define camIspunct   wxIspunct
#define camIsspace   wxIsspace
#define camIsupper   wxIsupper
#define camIsxdigit   wxIsxdigit
#define camTolower   wxTolower
#define camToupper   wxToupper
#define camSetlocale   wxSetlocale
#define camStrcat   wxStrcat
#define camStrchr   wxStrchr
#define camStrcmp   wxStrcmp
#define camStrcoll   wxStrcoll
#define camStrcpy   wxStrcpy
#define camStrcspn   wxStrcspn
#define camStrdup   wxStrdup
#define camStrdupW   wxStrdupW
#define camStrftime   wxStrftime
#define camStricmp   wxStricmp
#define camStrnicmp   wxStrnicmp
#define camStrlen   wxStrlen
#define camStrclen   wxStrlen
#define camStrncat   wxStrncat
#define camStrncmp   wxStrncmp
#define camStrncpy   wxStrncpy
#define camStrpbrk   wxStrpbrk
#define camStrrchr   wxStrrchr
#define camStrspn   wxStrspn
#define camStrstr   wxStrstr
#define camStrtod   wxStrtod
#define camStrtol   wxStrtol
#define camStrtoul   wxStrtoul
#define camStrxfrm   wxStrxfrm
#define camFgetc   wxFgetc
#define camFgetchar   wxFgetchar
#define camFgets   wxFgets
#define camFopen   wxFopen
#define camFputc   wxFputc
#define camFputchar   wxFputchar
#define camFprintf   wxFprintf
#define camFputs   wxFputs
#define camFreopen   wxFreopen
#define camFscanf   wxFscanf
#define camGetc   wxGetc
#define camGetchar   wxGetchar
#define camGets   wxGets
#define camPerror   wxPerror
#define camPrintf   wxPrintf
#define camPutc   wxPutc
#define camPutchar   wxPutchar
#define camPuts   wxPuts
#define camScanf   wxScanf
#define camSprintf   wxSprintf
#define camSscanf   wxSscanf
#define camTmpnam   wxTmpnam
#define camUngetc   wxUngetc
#define camVfprintf   wxVfprintf
#define camVprintf   wxVprintf
#define camVsscanf   wxVsscanf
#define camVsprintf   wxVsprintf
#define camVsnprintf   wxVsnprintf
#define camSnprintf   wxSnprintf
#define camRemove   wxRemove
#define camRename   wxRename
#define camAtoi   wxAtoi
#define camAtol   wxAtol
#define camGetenv   wxGetenv
#define camSystem   wxSystem
#define camAsctime   wxAsctime
#define camCtime   wxCtime
#define camMbstowcs   wxMbstowcs
#define camWcstombs   wxWcstombs
#define camStrinc(v)   ( (v)+1 )
#define camStrninc(s, n)   ( (s)+(n) )
#define camStrdec(s, v)   ( (v)-1 )
#define camStrtok   strtok_r
#define camStrtof(str, pszMark)   strtof( str, pszMark )
#define _strnicmp   strncasecmp
#define _snprintf   snprintf
#define INT32_MAX   INT_MAX
#define INT32_MIN   INT_MIN
#define UINT32_MAX   UINT_MAX
#define UINT32_MIN   UINT_MIN
#define Int32x32To64(a, b)   (INT64)( (INT64)((INT32)(a)) * (INT32)(b) )
#define UInt32x32To64(a, b)   (UINT64)( (UINT64)((INT32)(a)) * (INT32)(b) )
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
#define mmioFOURCC(ch0, ch1, ch2, ch3)   MAKEFOURCC( ch0, ch1, ch2, ch3 )
#define TEXT   wxT
#define FAR
#define CDECL
#define PASCAL
#define __cdecl
#define STDMETHOD(fn)   virtual HRESULT fn
#define CALLBACK
#define EXPORT
#define AFXAPI
#define APIENTRY
#define CONST   const
#define AfxGetApp   ::wxGetApp
#define AfxAbort   abort
#define HELP_CONTEXT   0x0001L
#define HELP_QUIT   0x0002L
#define HELP_INDEX   0x0003L
#define HELP_CONTENTS   0x0003L
#define HELP_HELPONHELP   0x0004L
#define HELP_SETINDEX   0x0005L
#define HELP_SETCONTENTS   0x0005L
#define HELP_CONTEXTPOPUP   0x0008L
#define HELP_FORCEFILE   0x0009L
#define HELP_KEY   0x0101L
#define HELP_COMMAND   0x0102L
#define HELP_PARTIALKEY   0x0105L
#define HELP_MULTIKEY   0x0201L
#define HELP_SETWINPOS   0x0203L
#define HELP_CONTEXTMENU   0x000a
#define HELP_FINDER   0x000b
#define HELP_WM_HELP   0x000c
#define HELP_SETPOPUP_POS   0x000d
#define HELP_TCARD   0x8000
#define HELP_TCARD_DATA   0x0010
#define HELP_TCARD_OTHER_CALLER   0x0011
#define CAMUNUSED(x)   WXUNUSED(x)
#define CAMKEY(x)   WXK_ ## x
#define CAM_USE(x)   do {CamUse( & x );} while(0)
#define _MAX_PATH   _POSIX_PATH_MAX

Typedefs

typedef char CHAR
typedef wchar_t WCHAR
typedef unsigned long UINT_PTR
typedef unsigned long DWORD_PTR
typedef char TCHAR
typedef unsigned short WORD
typedef signed short INT16
typedef unsigned short UINT16
typedef unsigned int DWORD
typedef signed int INT32
typedef unsigned int UINT32
typedef signed long long __int64
typedef unsigned long long __uint64
typedef unsigned long long QWORD
typedef signed long long INT64
typedef signed long long LONGLONG
typedef unsigned long long UINT64
typedef unsigned long long ULONGLONG
typedef INT8 * PINT8
typedef INT16PINT16
typedef INT32 * PINT32
typedef INT64PINT64
typedef UINT8 * PUINT8
typedef UINT16PUINT16
typedef UINT32PUINT32
typedef UINT64PUINT64
typedef INT32 BOOL
typedef INT32 * INT_PTR
typedef BYTE * PBYTE
typedef BYTE * LPBYTE
typedef WORDPWORD
typedef WORDLPWORD
typedef DWORDPDWORD
typedef DWORDLPDWORD
typedef float FLOAT
typedef DWORD HRESULT
typedef char * LPSTR
typedef const char * LPCSTR
typedef char * PSTR
typedef const char * PCSTR
typedef wchar_t * LPWSTR
typedef const wchar_t * LPCWSTR
typedef TCHARLPTSTR
typedef const TCHARLPCTSTR
typedef TCHARPTSTR
typedef const TCHARPCTSTR
typedef void * PVOID
typedef void * LPVOID
typedef const void * PCVOID
typedef INT32 WPARAM
typedef INT32 LPARAM
typedef INT32 LRESULT
typedef RECTPRECT
typedef RECTLPRECT
typedef POINTPPOINT
typedef POINTLPPOINT
typedef DWORD COLORREF
typedef RGBQUADPRGBQUAD
typedef RGBQUADLPRGBQUAD
typedef RGBTRIPLEPRGBTRIPLE
typedef RGBTRIPLELPRGBTRIPLE
typedef PALETTEENTRYPPALETTEENTRY
typedef PALETTEENTRYLPPALETTEENTRY
typedef LOGPALETTEPLOGPALETTE
typedef LOGPALETTELPLOGPALETTE
typedef BITMAPINFOHEADERPBITMAPINFOHEADER
typedef BITMAPINFOHEADERLPBITMAPINFOHEADER
typedef BITMAPCOREHEADERPBITMAPCOREHEADER
typedef BITMAPCOREHEADERLPBITMAPCOREHEADER
typedef BITMAPINFOPBITMAPINFO
typedef BITMAPINFOLPBITMAPINFO
typedef BITMAPFILEHEADERLPBITMAPFILEHEADER
typedef BITMAPFILEHEADERPBITMAPFILEHEADER
typedef LOGBRUSHPLOGBRUSH
typedef LOGBRUSHLPLOGBRUSH
typedef RGNDATALPRGNDATA
typedef INT32(* FARPROC )()
typedef INT32 CRITICAL_SECTION
typedef void * HANDLE
typedef void * HGLOBAL
typedef void * HKEY
typedef void * HPALETTE
typedef INT32 CLSID
typedef void * HINSTANCE
typedef TCHAR TBYTE
typedef TCHARPTBYTE
typedef TCHARLPTBYTE
typedef TCHARPTCHAR
typedef TCHARLPTCHAR
typedef std::map< void *,
WORD
CMapPtrToWord
typedef std::map< void *,
void * > 
CMapPtrToPtr
typedef std::map< INT32, void * > CMapLongToPtr
typedef std::map< void *,
INT32 > 
CMapPtrToLong
typedef wxPoint CNativePoint
typedef wxSize CNativeSize
typedef wxRect CNativeRect
typedef wxDC CNativeDC
typedef wxWindow CNativeWnd
typedef wxMenu CNativeMenu

Functions

static void CharUpper (TCHAR *psz)
static void CharLower (TCHAR *psz)
 wxDEPRECATED (typedef UINT32 ULONG)
 wxDEPRECATED (typedef INT32 LONG)
UINT32 _lrotr (UINT32 lVal, UINT32 nShift)
UINT32 _lrotl (UINT32 lVal, UINT32 nShift)
INT32 MulDiv (INT32 X, INT32 N, INT32 D)
WORD HIWORD (DWORD dw)
WORD LOWORD (DWORD dw)
COLORREF RGB (BYTE r, BYTE g, BYTE b)
BYTE GetBValue (COLORREF cr)
BYTE GetGValue (COLORREF cr)
BYTE GetRValue (COLORREF cr)
size_t _msize (PVOID ptr)
void Beep ()
double camAtof (TCHAR *s)
INT32 wxAtol (TCHAR *s)
void CamUse (void *p)

Variables

const HRESULT S_OK = 0
const HRESULT E_FAIL = 0x80004005
const DWORD BI_RGB = 0
const DWORD BI_RLE8 = 1
const DWORD BI_RLE4 = 2
const DWORD BI_BITFIELDS = 3
const DWORD DIB_RGB_COLORS = 0
const DWORD DIB_PAL_COLORS = 1
const HINSTANCE HINSTANCE_ERROR = HINSTANCE(-1)
const size_t MAX_PATH = 256


Define Documentation

#define __cdecl
 

Definition at line 570 of file compatdef.h.

#define _MAX_PATH   _POSIX_PATH_MAX
 

Definition at line 703 of file compatdef.h.

#define _snprintf   snprintf
 

Definition at line 237 of file compatdef.h.

#define _strnicmp   strncasecmp
 

Definition at line 236 of file compatdef.h.

#define AfxAbort   abort
 

Definition at line 658 of file compatdef.h.

#define AFXAPI
 

Definition at line 652 of file compatdef.h.

#define AfxGetApp   ::wxGetApp
 

Definition at line 656 of file compatdef.h.

#define APIENTRY
 

Definition at line 653 of file compatdef.h.

#define CALLBACK
 

Definition at line 650 of file compatdef.h.

#define CAM_USE  )     do {CamUse( & x );} while(0)
 

Definition at line 700 of file compatdef.h.

#define camAsctime   wxAsctime
 

Definition at line 189 of file compatdef.h.

#define camAtoi   wxAtoi
 

Definition at line 185 of file compatdef.h.

#define camAtol   wxAtol
 

Definition at line 186 of file compatdef.h.

#define camCtime   wxCtime
 

Definition at line 190 of file compatdef.h.

#define camFgetc   wxFgetc
 

Definition at line 154 of file compatdef.h.

#define camFgetchar   wxFgetchar
 

Definition at line 155 of file compatdef.h.

#define camFgets   wxFgets
 

Definition at line 156 of file compatdef.h.

#define camFopen   wxFopen
 

Definition at line 157 of file compatdef.h.

#define camFprintf   wxFprintf
 

Definition at line 160 of file compatdef.h.

#define camFputc   wxFputc
 

Definition at line 158 of file compatdef.h.

#define camFputchar   wxFputchar
 

Definition at line 159 of file compatdef.h.

#define camFputs   wxFputs
 

Definition at line 161 of file compatdef.h.

#define camFreopen   wxFreopen
 

Definition at line 162 of file compatdef.h.

#define camFscanf   wxFscanf
 

Definition at line 163 of file compatdef.h.

#define camGetc   wxGetc
 

Definition at line 164 of file compatdef.h.

#define camGetchar   wxGetchar
 

Definition at line 165 of file compatdef.h.

#define camGetenv   wxGetenv
 

Definition at line 187 of file compatdef.h.

#define camGets   wxGets
 

Definition at line 166 of file compatdef.h.

#define camIsalnum   wxIsalnum
 

Definition at line 116 of file compatdef.h.

#define camIsalpha   wxIsalpha
 

Definition at line 117 of file compatdef.h.

#define camIscntrl   wxIscntrl
 

Definition at line 118 of file compatdef.h.

#define camIsdigit   wxIsdigit
 

Definition at line 119 of file compatdef.h.

#define camIsgraph   wxIsgraph
 

Definition at line 120 of file compatdef.h.

#define camIslower   wxIslower
 

Definition at line 121 of file compatdef.h.

#define camIsprint   wxIsprint
 

Definition at line 122 of file compatdef.h.

#define camIspunct   wxIspunct
 

Definition at line 123 of file compatdef.h.

#define camIsspace   wxIsspace
 

Definition at line 124 of file compatdef.h.

#define camIsupper   wxIsupper
 

Definition at line 125 of file compatdef.h.

#define camIsxdigit   wxIsxdigit
 

Definition at line 126 of file compatdef.h.

#define CAMKEY  )     WXK_ ## x
 

Definition at line 691 of file compatdef.h.

#define camMbstowcs   wxMbstowcs
 

Definition at line 191 of file compatdef.h.

#define camPerror   wxPerror
 

Definition at line 167 of file compatdef.h.

#define camPrintf   wxPrintf
 

Definition at line 168 of file compatdef.h.

#define camPutc   wxPutc
 

Definition at line 169 of file compatdef.h.

#define camPutchar   wxPutchar
 

Definition at line 170 of file compatdef.h.

#define camPuts   wxPuts
 

Definition at line 171 of file compatdef.h.

#define camRemove   wxRemove
 

Definition at line 183 of file compatdef.h.

#define camRename   wxRename
 

Definition at line 184 of file compatdef.h.

#define camScanf   wxScanf
 

Definition at line 172 of file compatdef.h.

#define camSetlocale   wxSetlocale
 

Definition at line 129 of file compatdef.h.

#define camSnprintf   wxSnprintf
 

Definition at line 182 of file compatdef.h.

#define camSprintf   wxSprintf
 

Definition at line 173 of file compatdef.h.

#define camSscanf   wxSscanf
 

Definition at line 174 of file compatdef.h.

#define camStrcat   wxStrcat
 

Definition at line 130 of file compatdef.h.

#define camStrchr   wxStrchr
 

Definition at line 131 of file compatdef.h.

#define camStrclen   wxStrlen
 

Definition at line 142 of file compatdef.h.

#define camStrcmp   wxStrcmp
 

Definition at line 132 of file compatdef.h.

#define camStrcoll   wxStrcoll
 

Definition at line 133 of file compatdef.h.

#define camStrcpy   wxStrcpy
 

Definition at line 134 of file compatdef.h.

#define camStrcspn   wxStrcspn
 

Definition at line 135 of file compatdef.h.

#define camStrdec s,
 )     ( (v)-1 )
 

Definition at line 216 of file compatdef.h.

#define camStrdup   wxStrdup
 

Definition at line 136 of file compatdef.h.

#define camStrdupW   wxStrdupW
 

Definition at line 137 of file compatdef.h.

#define camStrftime   wxStrftime
 

Definition at line 138 of file compatdef.h.

#define camStricmp   wxStricmp
 

Definition at line 139 of file compatdef.h.

#define camStrinc  )     ( (v)+1 )
 

Definition at line 214 of file compatdef.h.

#define camStrlen   wxStrlen
 

Definition at line 141 of file compatdef.h.

#define camStrncat   wxStrncat
 

Definition at line 143 of file compatdef.h.

#define camStrncmp   wxStrncmp
 

Definition at line 144 of file compatdef.h.

#define camStrncpy   wxStrncpy
 

Definition at line 145 of file compatdef.h.

#define camStrnicmp   wxStrnicmp
 

Definition at line 140 of file compatdef.h.

#define camStrninc s,
 )     ( (s)+(n) )
 

Definition at line 215 of file compatdef.h.

#define camStrpbrk   wxStrpbrk
 

Definition at line 146 of file compatdef.h.

#define camStrrchr   wxStrrchr
 

Definition at line 147 of file compatdef.h.

#define camStrspn   wxStrspn
 

Definition at line 148 of file compatdef.h.

#define camStrstr   wxStrstr
 

Definition at line 149 of file compatdef.h.

#define camStrtod   wxStrtod
 

Definition at line 150 of file compatdef.h.

#define camStrtof str,
pszMark   )     strtof( str, pszMark )
 

Definition at line 233 of file compatdef.h.

#define camStrtok   strtok_r
 

Definition at line 232 of file compatdef.h.

#define camStrtol   wxStrtol
 

Definition at line 151 of file compatdef.h.

#define camStrtoul   wxStrtoul
 

Definition at line 152 of file compatdef.h.

#define camStrxfrm   wxStrxfrm
 

Definition at line 153 of file compatdef.h.

#define camSystem   wxSystem
 

Definition at line 188 of file compatdef.h.

#define camTmpnam   wxTmpnam
 

Definition at line 175 of file compatdef.h.

#define camTolower   wxTolower
 

Definition at line 127 of file compatdef.h.

#define camToupper   wxToupper
 

Definition at line 128 of file compatdef.h.

#define camUngetc   wxUngetc
 

Definition at line 176 of file compatdef.h.

#define CAMUNUSED  )     WXUNUSED(x)
 

Definition at line 688 of file compatdef.h.

#define camVfprintf   wxVfprintf
 

Definition at line 177 of file compatdef.h.

#define camVprintf   wxVprintf
 

Definition at line 178 of file compatdef.h.

#define camVsnprintf   wxVsnprintf
 

Definition at line 181 of file compatdef.h.

#define camVsprintf   wxVsprintf
 

Definition at line 180 of file compatdef.h.

#define camVsscanf   wxVsscanf
 

Definition at line 179 of file compatdef.h.

#define camWcstombs   wxWcstombs
 

Definition at line 192 of file compatdef.h.

#define CDECL
 

Definition at line 568 of file compatdef.h.

#define CONST   const
 

Definition at line 654 of file compatdef.h.

#define EXPORT
 

Definition at line 651 of file compatdef.h.

#define FAR
 

Definition at line 567 of file compatdef.h.

#define HELP_COMMAND   0x0102L
 

Definition at line 674 of file compatdef.h.

#define HELP_CONTENTS   0x0003L
 

Definition at line 667 of file compatdef.h.

#define HELP_CONTEXT   0x0001L
 

Definition at line 664 of file compatdef.h.

#define HELP_CONTEXTMENU   0x000a
 

Definition at line 678 of file compatdef.h.

#define HELP_CONTEXTPOPUP   0x0008L
 

Definition at line 671 of file compatdef.h.

#define HELP_FINDER   0x000b
 

Definition at line 679 of file compatdef.h.

#define HELP_FORCEFILE   0x0009L
 

Definition at line 672 of file compatdef.h.

#define HELP_HELPONHELP   0x0004L
 

Definition at line 668 of file compatdef.h.

#define HELP_INDEX   0x0003L
 

Definition at line 666 of file compatdef.h.

#define HELP_KEY   0x0101L
 

Definition at line 673 of file compatdef.h.

#define HELP_MULTIKEY   0x0201L
 

Definition at line 676 of file compatdef.h.

#define HELP_PARTIALKEY   0x0105L
 

Definition at line 675 of file compatdef.h.

#define HELP_QUIT   0x0002L
 

Definition at line 665 of file compatdef.h.

#define HELP_SETCONTENTS   0x0005L
 

Definition at line 670 of file compatdef.h.

#define HELP_SETINDEX   0x0005L
 

Definition at line 669 of file compatdef.h.

#define HELP_SETPOPUP_POS   0x000d
 

Definition at line 681 of file compatdef.h.

#define HELP_SETWINPOS   0x0203L
 

Definition at line 677 of file compatdef.h.

#define HELP_TCARD   0x8000
 

Definition at line 683 of file compatdef.h.

#define HELP_TCARD_DATA   0x0010
 

Definition at line 684 of file compatdef.h.

#define HELP_TCARD_OTHER_CALLER   0x0011
 

Definition at line 685 of file compatdef.h.

#define HELP_WM_HELP   0x000c
 

Definition at line 680 of file compatdef.h.

#define INT32_MAX   INT_MAX
 

Definition at line 272 of file compatdef.h.

#define INT32_MIN   INT_MIN
 

Definition at line 273 of file compatdef.h.

#define Int32x32To64 a,
 )     (INT64)( (INT64)((INT32)(a)) * (INT32)(b) )
 

Definition at line 352 of file compatdef.h.

#define MAKEFOURCC ch0,
ch1,
ch2,
ch3   ) 
 

Value:

( DWORD(BYTE(ch0))           | ( DWORD(BYTE(ch1)) << 8 ) |      \
      ( DWORD(BYTE(ch2)) << 16 ) | ( DWORD(BYTE(ch1)) << 24 ) )

Definition at line 518 of file compatdef.h.

#define mmioFOURCC ch0,
ch1,
ch2,
ch3   )     MAKEFOURCC( ch0, ch1, ch2, ch3 )
 

Definition at line 522 of file compatdef.h.

#define PASCAL
 

Definition at line 569 of file compatdef.h.

#define STDMETHOD fn   )     virtual HRESULT fn
 

Definition at line 593 of file compatdef.h.

#define TEXT   wxT
 

Definition at line 565 of file compatdef.h.

#define UINT32_MAX   UINT_MAX
 

Definition at line 274 of file compatdef.h.

#define UINT32_MIN   UINT_MIN
 

Definition at line 275 of file compatdef.h.

#define UInt32x32To64 a,
 )     (UINT64)( (UINT64)((INT32)(a)) * (INT32)(b) )
 

Definition at line 353 of file compatdef.h.

#define USE_WXAUI
 

Definition at line 105 of file compatdef.h.


Typedef Documentation

typedef signed long long __int64
 

Definition at line 290 of file compatdef.h.

typedef unsigned long long __uint64
 

Definition at line 292 of file compatdef.h.

typedef BOOL
 

Definition at line 318 of file compatdef.h.

typedef char CHAR
 

Definition at line 203 of file compatdef.h.

typedef INT32 CLSID
 

Definition at line 580 of file compatdef.h.

typedef std::map<INT32, void *> CMapLongToPtr
 

Definition at line 633 of file compatdef.h.

typedef std::map<void *, INT32> CMapPtrToLong
 

Definition at line 634 of file compatdef.h.

typedef std::map<void *, void *> CMapPtrToPtr
 

Definition at line 632 of file compatdef.h.

typedef std::map<void *, WORD> CMapPtrToWord
 

Definition at line 631 of file compatdef.h.

typedef wxDC CNativeDC
 

Definition at line 639 of file compatdef.h.

typedef wxMenu CNativeMenu
 

Definition at line 641 of file compatdef.h.

typedef wxPoint CNativePoint
 

Definition at line 636 of file compatdef.h.

typedef wxRect CNativeRect
 

Definition at line 638 of file compatdef.h.

typedef wxSize CNativeSize
 

Definition at line 637 of file compatdef.h.

typedef wxWindow CNativeWnd
 

Definition at line 640 of file compatdef.h.

typedef DWORD COLORREF
 

Definition at line 409 of file compatdef.h.

typedef INT32 CRITICAL_SECTION
 

Definition at line 575 of file compatdef.h.

typedef unsigned int DWORD
 

Definition at line 269 of file compatdef.h.

typedef unsigned long DWORD_PTR
 

Definition at line 208 of file compatdef.h.

typedef INT32(* FARPROC)()
 

Definition at line 572 of file compatdef.h.

typedef float FLOAT
 

Definition at line 326 of file compatdef.h.

typedef void* HANDLE
 

Definition at line 576 of file compatdef.h.

typedef void* HGLOBAL
 

Definition at line 577 of file compatdef.h.

typedef void* HINSTANCE
 

Definition at line 581 of file compatdef.h.

typedef void* HKEY
 

Definition at line 578 of file compatdef.h.

typedef void* HPALETTE
 

Definition at line 579 of file compatdef.h.

typedef DWORD HRESULT
 

Definition at line 328 of file compatdef.h.

typedef signed short INT16
 

Definition at line 262 of file compatdef.h.

typedef signed int INT32
 

Definition at line 270 of file compatdef.h.

typedef signed long long INT64
 

Definition at line 294 of file compatdef.h.

typedef INT32* INT_PTR
 

Definition at line 319 of file compatdef.h.

typedef signed long long LONGLONG
 

Definition at line 294 of file compatdef.h.

typedef INT32 LPARAM
 

Definition at line 350 of file compatdef.h.

typedef BITMAPCOREHEADER * LPBITMAPCOREHEADER
 

Definition at line 497 of file compatdef.h.

typedef BITMAPFILEHEADER* LPBITMAPFILEHEADER
 

Definition at line 516 of file compatdef.h.

typedef BITMAPINFO * LPBITMAPINFO
 

Definition at line 504 of file compatdef.h.

typedef BITMAPINFOHEADER * LPBITMAPINFOHEADER
 

Definition at line 478 of file compatdef.h.

typedef BYTE * LPBYTE
 

Definition at line 322 of file compatdef.h.

typedef const char* LPCSTR
 

Definition at line 333 of file compatdef.h.

typedef const TCHAR* LPCTSTR
 

Definition at line 342 of file compatdef.h.

typedef const wchar_t* LPCWSTR
 

Definition at line 339 of file compatdef.h.

typedef DWORD * LPDWORD
 

Definition at line 324 of file compatdef.h.

typedef LOGBRUSH * LPLOGBRUSH
 

Definition at line 530 of file compatdef.h.

typedef LOGPALETTE * LPLOGPALETTE
 

Definition at line 462 of file compatdef.h.

typedef PALETTEENTRY * LPPALETTEENTRY
 

Definition at line 454 of file compatdef.h.

typedef POINT * LPPOINT
 

Definition at line 407 of file compatdef.h.

typedef RECT * LPRECT
 

Definition at line 400 of file compatdef.h.

typedef RGBQUAD * LPRGBQUAD
 

Definition at line 437 of file compatdef.h.

typedef RGBTRIPLE * LPRGBTRIPLE
 

Definition at line 445 of file compatdef.h.

typedef RGNDATA* LPRGNDATA
 

Definition at line 555 of file compatdef.h.

typedef LPSTR
 

Definition at line 332 of file compatdef.h.

typedef TCHAR* LPTBYTE
 

Definition at line 628 of file compatdef.h.

typedef TCHAR* LPTCHAR
 

Definition at line 630 of file compatdef.h.

typedef TCHAR* LPTSTR
 

Definition at line 341 of file compatdef.h.

typedef void * LPVOID
 

Definition at line 347 of file compatdef.h.

typedef WORD * LPWORD
 

Definition at line 323 of file compatdef.h.

typedef wchar_t* LPWSTR
 

Definition at line 338 of file compatdef.h.

typedef INT32 LRESULT
 

Definition at line 350 of file compatdef.h.

typedef BITMAPCOREHEADER* PBITMAPCOREHEADER
 

Definition at line 497 of file compatdef.h.

typedef BITMAPFILEHEADER * PBITMAPFILEHEADER
 

Definition at line 516 of file compatdef.h.

typedef BITMAPINFO* PBITMAPINFO
 

Definition at line 504 of file compatdef.h.

typedef BITMAPINFOHEADER* PBITMAPINFOHEADER
 

Definition at line 478 of file compatdef.h.

typedef BYTE* PBYTE
 

Definition at line 322 of file compatdef.h.

typedef const char* PCSTR
 

Definition at line 336 of file compatdef.h.

typedef const TCHAR* PCTSTR
 

Definition at line 345 of file compatdef.h.

typedef const void* PCVOID
 

Definition at line 348 of file compatdef.h.

typedef DWORD* PDWORD
 

Definition at line 324 of file compatdef.h.

typedef INT16* PINT16
 

Definition at line 310 of file compatdef.h.

typedef INT32* PINT32
 

Definition at line 311 of file compatdef.h.

typedef INT64* PINT64
 

Definition at line 312 of file compatdef.h.

typedef INT8* PINT8
 

Definition at line 309 of file compatdef.h.

typedef LOGBRUSH* PLOGBRUSH
 

Definition at line 530 of file compatdef.h.

typedef LOGPALETTE* PLOGPALETTE
 

Definition at line 462 of file compatdef.h.

typedef PALETTEENTRY* PPALETTEENTRY
 

Definition at line 454 of file compatdef.h.

typedef POINT* PPOINT
 

Definition at line 407 of file compatdef.h.

typedef RECT* PRECT
 

Definition at line 400 of file compatdef.h.

typedef RGBQUAD* PRGBQUAD
 

Definition at line 437 of file compatdef.h.

typedef RGBTRIPLE* PRGBTRIPLE
 

Definition at line 445 of file compatdef.h.

typedef char* PSTR
 

Definition at line 335 of file compatdef.h.

typedef TCHAR* PTBYTE
 

Definition at line 627 of file compatdef.h.

typedef TCHAR* PTCHAR
 

Definition at line 629 of file compatdef.h.

typedef TCHAR* PTSTR
 

Definition at line 344 of file compatdef.h.

typedef UINT16* PUINT16
 

Definition at line 314 of file compatdef.h.

typedef UINT32* PUINT32
 

Definition at line 315 of file compatdef.h.

typedef UINT64* PUINT64
 

Definition at line 316 of file compatdef.h.

typedef UINT8* PUINT8
 

Definition at line 313 of file compatdef.h.

typedef void* PVOID
 

Definition at line 347 of file compatdef.h.

typedef WORD* PWORD
 

Definition at line 323 of file compatdef.h.

typedef unsigned long long QWORD
 

Definition at line 293 of file compatdef.h.

typedef TCHAR TBYTE
 

Definition at line 626 of file compatdef.h.

typedef char TCHAR
 

Definition at line 230 of file compatdef.h.

typedef unsigned short UINT16
 

Definition at line 263 of file compatdef.h.

typedef unsigned int UINT32
 

Definition at line 271 of file compatdef.h.

typedef unsigned long long UINT64
 

Definition at line 295 of file compatdef.h.

typedef unsigned long UINT_PTR
 

Definition at line 207 of file compatdef.h.

typedef unsigned long long ULONGLONG
 

Definition at line 295 of file compatdef.h.

typedef wchar_t WCHAR
 

Definition at line 204 of file compatdef.h.

typedef unsigned short WORD
 

Definition at line 261 of file compatdef.h.

typedef INT32 WPARAM
 

Definition at line 350 of file compatdef.h.


Function Documentation

UINT32 _lrotl UINT32  lVal,
UINT32  nShift
[inline]
 

Definition at line 361 of file compatdef.h.

00362 {
00363     return ( lVal << nShift ) | ( lVal >> ( 32 - nShift ) );
00364 }

UINT32 _lrotr UINT32  lVal,
UINT32  nShift
[inline]
 

Definition at line 356 of file compatdef.h.

00357 {
00358     return ( lVal >> nShift ) | ( lVal << ( 32 - nShift ) );
00359 }

size_t _msize PVOID  ptr  )  [inline]
 

Definition at line 598 of file compatdef.h.

00599 {
00600     return malloc_usable_size( ptr );
00601 }

void Beep  )  [inline]
 

Definition at line 693 of file compatdef.h.

00693 {wxBell();}

double camAtof TCHAR s  )  [inline]
 

Definition at line 695 of file compatdef.h.

00695 { double r=0.0; camSscanf(s, _T("%lf"), &r); return r;}

void CamUse void *  p  )  [inline]
 

Definition at line 699 of file compatdef.h.

00699 {}

static void CharLower TCHAR psz  )  [static]
 

Definition at line 246 of file compatdef.h.

00247 {
00248     for( ; *psz != '\0'; ++psz )
00249         *psz = camTolower( *psz );
00250 }

static void CharUpper TCHAR psz  )  [static]
 

Definition at line 241 of file compatdef.h.

00242 {
00243     for( ; *psz != '\0'; ++psz )
00244         *psz = camToupper( *psz );
00245 }

BYTE GetBValue COLORREF  cr  )  [inline]
 

Definition at line 415 of file compatdef.h.

00416 {
00417     return( BYTE(cr >> 16) );
00418 }

BYTE GetGValue COLORREF  cr  )  [inline]
 

Definition at line 420 of file compatdef.h.

00421 {
00422     return( BYTE(cr >> 8) );
00423 }

BYTE GetRValue COLORREF  cr  )  [inline]
 

Definition at line 425 of file compatdef.h.

00426 {
00427     return( BYTE(cr) );
00428 }

WORD HIWORD DWORD  dw  )  [inline]
 

Definition at line 383 of file compatdef.h.

00384 {
00385     return WORD( dw >> 16 );
00386 }

WORD LOWORD DWORD  dw  )  [inline]
 

Definition at line 388 of file compatdef.h.

00389 {
00390     return WORD(dw);
00391 }

INT32 MulDiv INT32  X,
INT32  N,
INT32  D
[inline]
 

Definition at line 366 of file compatdef.h.

00367 {
00368 //  return X*N/D ;
00369 #if defined(__WXMSW__)
00370     UINT32 temp ;
00371     __asm {
00372         mov     eax,X
00373         imul    N
00374         idiv    D
00375         mov     temp,eax
00376     }
00377     return temp ;
00378 #else
00379     return INT32( __int64(X) * N / D );
00380 #endif
00381 }

COLORREF RGB BYTE  r,
BYTE  g,
BYTE  b
[inline]
 

Definition at line 410 of file compatdef.h.

00411 {
00412     return COLORREF(r) | ( WORD(g) << 8 ) | ( DWORD(b) << 16 );
00413 }

INT32 wxAtol TCHAR s  )  [inline]
 

Definition at line 696 of file compatdef.h.

00696 { INT32 r=0; camSscanf(s, _T("%d"), &r); return r;}

wxDEPRECATED typedef INT32  LONG  ) 
 

wxDEPRECATED typedef UINT32  ULONG  ) 
 


Variable Documentation

const DWORD BI_BITFIELDS = 3
 

Definition at line 483 of file compatdef.h.

const DWORD BI_RGB = 0
 

Definition at line 480 of file compatdef.h.

const DWORD BI_RLE4 = 2
 

Definition at line 482 of file compatdef.h.

const DWORD BI_RLE8 = 1
 

Definition at line 481 of file compatdef.h.

const DWORD DIB_PAL_COLORS = 1
 

Definition at line 487 of file compatdef.h.

const DWORD DIB_RGB_COLORS = 0
 

Definition at line 486 of file compatdef.h.

const HRESULT E_FAIL = 0x80004005
 

Definition at line 330 of file compatdef.h.

const HINSTANCE HINSTANCE_ERROR = HINSTANCE(-1)
 

Definition at line 583 of file compatdef.h.

const size_t MAX_PATH = 256
 

Definition at line 595 of file compatdef.h.

const HRESULT S_OK = 0
 

Definition at line 329 of file compatdef.h.


Generated on Sat Nov 10 03:49:29 2007 for Camelot by  doxygen 1.4.4