globalplatform
src
pcsclite-includes
wintypes.h
Go to the documentation of this file.
1
/*
2
* MUSCLE SmartCard Development ( http://www.linuxnet.com )
3
*
4
* Copyright (C) 1999
5
* David Corcoran <corcoran@linuxnet.com>
6
*
7
* $Id: wintypes.h,v 1.1 2007-08-22 22:59:14 k_o_ Exp $
8
*/
9
15
#ifndef __wintypes_h__
16
#define __wintypes_h__
17
18
#ifdef __cplusplus
19
extern
"C"
20
{
21
#endif
22
23
#if !defined(WIN32)
24
25
#ifndef BYTE
26
typedef
unsigned
char
BYTE
;
27
#endif
28
typedef
unsigned
char
UCHAR;
29
typedef
unsigned
char
*PUCHAR;
30
typedef
unsigned
short
USHORT;
31
32
#ifndef __COREFOUNDATION_CFPLUGINCOM__
33
typedef
unsigned
long
ULONG;
34
typedef
void
*LPVOID;
35
typedef
short
BOOL;
36
#endif
37
38
typedef
unsigned
long
*PULONG;
39
typedef
const
void
*LPCVOID;
40
typedef
unsigned
long
DWORD
;
41
typedef
unsigned
long
*
PDWORD
;
42
typedef
unsigned
short
WORD;
43
typedef
long
LONG
;
44
typedef
long
RESPONSECODE;
45
typedef
const
char
*LPCSTR;
46
typedef
const
BYTE
*LPCBYTE;
47
typedef
BYTE
*LPBYTE;
48
typedef
DWORD
*LPDWORD;
49
typedef
char
*LPSTR;
50
51
/* this type is deprecated but still used by old drivers and applications
52
* You should use LPTSTR instead */
53
typedef
char
*LPTSTR
54
#ifdef __GNUC__
55
/* __attribute__ is a GCC only extension */
56
__attribute__ ((deprecated))
57
#endif
58
;
59
typedef
const
char
*LPCTSTR
60
#ifdef __GNUC__
61
/* __attribute__ is a GCC only extension */
62
__attribute__ ((deprecated))
63
#endif
64
;
65
66
#else
67
#include <windows.h>
68
#endif
69
70
#ifdef __cplusplus
71
}
72
#endif
73
74
#endif
PDWORD
unsigned long * PDWORD
A Microsoft LPDWORD/Muscle pointer to a DWORD.
Definition:
types.h:50
BYTE
unsigned char BYTE
A Microsoft/Muscle BYTE definition.
Definition:
types.h:51
LONG
long LONG
A long value.
Definition:
types.h:53
DWORD
unsigned long DWORD
A Microsoft/Muscle DWORD definition.
Definition:
types.h:52
Generated by
1.8.17