pcsc-lite 1.5.5
|
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 3334 2009-03-02 14:56:38Z rousseau $ 00008 */ 00009 00015 #ifndef __wintypes_h__ 00016 #define __wintypes_h__ 00017 00018 #ifdef __cplusplus 00019 extern "C" 00020 { 00021 #endif 00022 00023 #ifndef BYTE 00024 typedef unsigned char BYTE; 00025 #endif 00026 typedef unsigned char UCHAR; 00027 typedef unsigned char *PUCHAR; 00028 typedef unsigned short USHORT; 00029 00030 #ifndef __COREFOUNDATION_CFPLUGINCOM__ 00031 typedef unsigned long ULONG; 00032 typedef void *LPVOID; 00033 #endif 00034 00035 typedef const void *LPCVOID; 00036 typedef unsigned long DWORD; 00037 typedef unsigned long *PDWORD; 00038 typedef long LONG; 00039 typedef const char *LPCSTR; 00040 typedef const BYTE *LPCBYTE; 00041 typedef BYTE *LPBYTE; 00042 typedef DWORD *LPDWORD; 00043 typedef char *LPSTR; 00044 00045 /* these types were deprecated but still used by old drivers and 00046 * applications. So just declare and use them. */ 00047 typedef LPSTR LPTSTR; 00048 typedef LPCSTR LPCTSTR; 00049 00050 /* types unused by pcsc-lite */ 00051 typedef short BOOL; 00052 typedef unsigned short WORD; 00053 typedef unsigned long *PULONG; 00054 00055 #ifdef __cplusplus 00056 } 00057 #endif 00058 00059 #endif