wintypes.h

Go to the documentation of this file.
00001 /*
00002  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
00003  *
00004  * Copyright (C) 1999
00005  *  David Corcoran <corcoran@linuxnet.com>
00006  *
00007  * $Id: wintypes.h 1457 2005-04-27 09:25:44Z rousseau $
00008  */
00009 
00015 #ifndef __wintypes_h__
00016 #define __wintypes_h__
00017 
00018 #ifdef __cplusplus
00019 extern "C"
00020 {
00021 #endif
00022 
00023 #if !defined(WIN32)
00024 
00025 #ifndef BYTE
00026     typedef unsigned char BYTE;
00027 #endif
00028     typedef unsigned char UCHAR;
00029     typedef unsigned char *PUCHAR;
00030     typedef unsigned short USHORT;
00031 
00032 #ifndef __COREFOUNDATION_CFPLUGINCOM__
00033     typedef unsigned long ULONG;
00034     typedef void *LPVOID;
00035     typedef short BOOL;
00036 #endif
00037 
00038     typedef unsigned long *PULONG;
00039     typedef const void *LPCVOID;
00040     typedef unsigned long DWORD;
00041     typedef unsigned long *PDWORD;
00042     typedef unsigned short WORD;
00043     typedef long LONG;
00044     typedef long RESPONSECODE;
00045     typedef const char *LPCTSTR;
00046     typedef const BYTE *LPCBYTE;
00047     typedef BYTE *LPBYTE;
00048     typedef DWORD *LPDWORD;
00049     typedef char *LPTSTR;
00050 
00051     /* this type is deprecated but still used by old drivers and applications
00052      * You should use LPTSTR instead */
00053     typedef char *LPSTR
00054 #ifdef __GNUC__
00055         /* __attribute__ is a GCC only extension */
00056         __attribute__ ((deprecated))
00057 #endif
00058         ;
00059 
00060 #else
00061 #include <windows.h>
00062 #endif
00063 
00064 #ifdef __cplusplus
00065 }
00066 #endif
00067 
00068 #endif

Generated on Wed Jun 6 11:38:31 2007 for pcsc-lite by  doxygen 1.4.7