image/svg+xml
Brteve's API for EveApps
Version 0.0.1
The reference document for common folder of EveApps project.
 
Loading...
Searching...
No Matches
WinTypes.h
Go to the documentation of this file.
1
32#ifndef __WINDOWS_TYPES__
33#define __WINDOWS_TYPES__
34
35#define MAX_NUM_DEVICES 50
36#include <sys/time.h>
37
38typedef unsigned int DWORD;
39typedef unsigned int ULONG;
40typedef unsigned short USHORT;
41typedef unsigned short SHORT;
42typedef unsigned char UCHAR;
43typedef unsigned short WORD;
44typedef unsigned char BYTE;
45typedef BYTE *LPBYTE;
46typedef unsigned int BOOL;
47typedef unsigned char BOOLEAN;
48typedef unsigned char CHAR;
49typedef BOOL *LPBOOL;
50typedef UCHAR *PUCHAR;
51typedef const char *LPCSTR;
52typedef char *PCHAR;
53typedef void *PVOID;
54typedef void *HANDLE;
55typedef unsigned int LONG;
56typedef int INT;
57typedef unsigned int UINT;
58typedef char *LPSTR;
59typedef char *LPTSTR;
60typedef DWORD *LPDWORD;
61typedef WORD *LPWORD;
62typedef ULONG *PULONG;
63typedef PVOID LPVOID;
64typedef void VOID;
65typedef unsigned long long int ULONGLONG;
66
75
82
83typedef struct timeval SYSTEMTIME;
84typedef struct timeval FILETIME;
85#ifndef TRUE
86#define TRUE 1
87#endif
88#ifndef FALSE
89#define FALSE 0
90#endif
91
94#define MS_CTS_ON ((DWORD)0x0010)
95#define MS_DSR_ON ((DWORD)0x0020)
96#define MS_RING_ON ((DWORD)0x0040)
97#define MS_RLSD_ON ((DWORD)0x0080)
99
102
103#define CE_RXOVER 0x0001
104#define CE_OVERRUN 0x0002
105#define CE_RXPARITY 0x0004
106#define CE_FRAME 0x0008
107#define CE_BREAK 0x0010
108#define CE_TXFULL 0x0100
109#define CE_PTO 0x0200
110#define CE_IOE 0x0400
111#define CE_DNS 0x0800
112#define CE_OOP 0x1000
113#define CE_MODE 0x8000
115
116#ifndef INVALID_HANDLE_VALUE
117#define INVALID_HANDLE_VALUE 0xFFFFFFFF
118#endif
119
120#endif
unsigned char BOOLEAN
Definition WinTypes.h:47
char * LPSTR
Definition WinTypes.h:58
DWORD * LPDWORD
Definition WinTypes.h:60
unsigned short WORD
Definition WinTypes.h:43
ULONG * PULONG
Definition WinTypes.h:62
void * PVOID
Definition WinTypes.h:53
BOOL * LPBOOL
Definition WinTypes.h:49
unsigned int UINT
Definition WinTypes.h:57
int INT
Definition WinTypes.h:56
struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES
unsigned long long int ULONGLONG
Definition WinTypes.h:65
char * LPTSTR
Definition WinTypes.h:59
unsigned char BYTE
Definition WinTypes.h:44
unsigned char UCHAR
Definition WinTypes.h:42
unsigned short USHORT
Definition WinTypes.h:40
void VOID
Definition WinTypes.h:64
unsigned int DWORD
Definition WinTypes.h:38
struct timeval FILETIME
Definition WinTypes.h:84
PVOID LPVOID
Definition WinTypes.h:63
struct _SECURITY_ATTRIBUTES * LPSECURITY_ATTRIBUTES
UCHAR * PUCHAR
Definition WinTypes.h:50
struct timeval SYSTEMTIME
Definition WinTypes.h:83
void * HANDLE
Definition WinTypes.h:54
struct _OVERLAPPED OVERLAPPED
unsigned char CHAR
Definition WinTypes.h:48
unsigned int ULONG
Definition WinTypes.h:39
BYTE * LPBYTE
Definition WinTypes.h:45
unsigned int BOOL
Definition WinTypes.h:46
unsigned short SHORT
Definition WinTypes.h:41
struct _OVERLAPPED * LPOVERLAPPED
unsigned int LONG
Definition WinTypes.h:55
const char * LPCSTR
Definition WinTypes.h:51
WORD * LPWORD
Definition WinTypes.h:61
char * PCHAR
Definition WinTypes.h:52
unsigned short WORD
Definition ff.h:60
unsigned char BYTE
Definition ff.h:59
unsigned long DWORD
Definition ff.h:61
DWORD OffsetHigh
Definition WinTypes.h:72
DWORD Internal
Definition WinTypes.h:69
DWORD InternalHigh
Definition WinTypes.h:70
DWORD Offset
Definition WinTypes.h:71
HANDLE hEvent
Definition WinTypes.h:73
LPVOID lpSecurityDescriptor
Definition WinTypes.h:79