pcsc-lite 1.6.4
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  * Copyright (C) 2002-2009
00007  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
00008  *
00009  * $Id: wintypes.h 4544 2009-11-12 14:33:44Z rousseau $
00010  */
00011 
00017 #ifndef __wintypes_h__
00018 #define __wintypes_h__
00019 
00020 #ifdef __cplusplus
00021 extern "C"
00022 {
00023 #endif
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 #endif
00036 
00037     typedef const void *LPCVOID;
00038     typedef unsigned long DWORD;
00039     typedef unsigned long *PDWORD;
00040     typedef long LONG;
00041     typedef const char *LPCSTR;
00042     typedef const BYTE *LPCBYTE;
00043     typedef BYTE *LPBYTE;
00044     typedef DWORD *LPDWORD;
00045     typedef char *LPSTR;
00046 
00047     /* these types were deprecated but still used by old drivers and
00048      * applications. So just declare and use them. */
00049     typedef LPSTR LPTSTR;
00050     typedef LPCSTR LPCTSTR;
00051 
00052     /* types unused by pcsc-lite */
00053     typedef short BOOL;
00054     typedef unsigned short WORD;
00055     typedef unsigned long *PULONG;
00056 
00057 #ifdef __cplusplus
00058 }
00059 #endif
00060 
00061 #endif