changed protocoll to use 2 byte length
[nfcbtpcsc.git] / wintypes.h
blob54fa71b9748eae3d815e66dad0319154e4710b65
1 /*
2 * MUSCLE SmartCard Development ( http://www.linuxnet.com )
4 * Copyright (C) 1999
5 * David Corcoran <corcoran@linuxnet.com>
7 * $Id: wintypes.h 3334 2009-03-02 14:56:38Z rousseau $
8 */
10 /**
11 * @file
12 * @brief This keeps a list of Windows(R) types.
15 #ifndef __wintypes_h__
16 #define __wintypes_h__
18 #ifdef __cplusplus
19 extern "C"
21 #endif
23 #ifndef BYTE
24 typedef unsigned char BYTE;
25 #endif
26 typedef unsigned char UCHAR;
27 typedef unsigned char *PUCHAR;
28 typedef unsigned short USHORT;
30 #ifndef __COREFOUNDATION_CFPLUGINCOM__
31 typedef unsigned long ULONG;
32 typedef void *LPVOID;
33 #endif
35 typedef const void *LPCVOID;
36 typedef unsigned long DWORD;
37 typedef unsigned long *PDWORD;
38 typedef long LONG;
39 typedef const char *LPCSTR;
40 typedef const BYTE *LPCBYTE;
41 typedef BYTE *LPBYTE;
42 typedef DWORD *LPDWORD;
43 typedef char *LPSTR;
45 /* these types were deprecated but still used by old drivers and
46 * applications. So just declare and use them. */
47 typedef LPSTR LPTSTR;
48 typedef LPCSTR LPCTSTR;
50 /* types unused by pcsc-lite */
51 typedef short BOOL;
52 typedef unsigned short WORD;
53 typedef unsigned long *PULONG;
55 #ifdef __cplusplus
57 #endif
59 #endif