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 File Reference

Window OS types. More...

#include <sys/time.h>

Go to the source code of this file.

Data Structures

struct  _OVERLAPPED
 
struct  _SECURITY_ATTRIBUTES
 

Macros

#define MAX_NUM_DEVICES   50
 
#define TRUE   1
 
#define FALSE   0
 
#define INVALID_HANDLE_VALUE   0xFFFFFFFF
 
Modem Status Flags
#define MS_CTS_ON   ((DWORD)0x0010)
 
#define MS_DSR_ON   ((DWORD)0x0020)
 
#define MS_RING_ON   ((DWORD)0x0040)
 
#define MS_RLSD_ON   ((DWORD)0x0080)
 
Error Flags
#define CE_RXOVER   0x0001
 
#define CE_OVERRUN   0x0002
 
#define CE_RXPARITY   0x0004
 
#define CE_FRAME   0x0008
 
#define CE_BREAK   0x0010
 
#define CE_TXFULL   0x0100
 
#define CE_PTO   0x0200
 
#define CE_IOE   0x0400
 
#define CE_DNS   0x0800
 
#define CE_OOP   0x1000
 
#define CE_MODE   0x8000
 

Typedefs

typedef unsigned int DWORD
 
typedef unsigned int ULONG
 
typedef unsigned short USHORT
 
typedef unsigned short SHORT
 
typedef unsigned char UCHAR
 
typedef unsigned short WORD
 
typedef unsigned char BYTE
 
typedef BYTELPBYTE
 
typedef unsigned int BOOL
 
typedef unsigned char BOOLEAN
 
typedef unsigned char CHAR
 
typedef BOOLLPBOOL
 
typedef UCHARPUCHAR
 
typedef const char * LPCSTR
 
typedef char * PCHAR
 
typedef void * PVOID
 
typedef void * HANDLE
 
typedef unsigned int LONG
 
typedef int INT
 
typedef unsigned int UINT
 
typedef char * LPSTR
 
typedef char * LPTSTR
 
typedef DWORDLPDWORD
 
typedef WORDLPWORD
 
typedef ULONGPULONG
 
typedef PVOID LPVOID
 
typedef void VOID
 
typedef unsigned long long int ULONGLONG
 
typedef struct _OVERLAPPED OVERLAPPED
 
typedef struct _OVERLAPPEDLPOVERLAPPED
 
typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES
 
typedef struct _SECURITY_ATTRIBUTESLPSECURITY_ATTRIBUTES
 
typedef struct timeval SYSTEMTIME
 
typedef struct timeval FILETIME
 

Detailed Description

Window OS types.

Author
Bridgetek
Date
2018

MIT License

Copyright (c) [2019] [Bridgetek Pte Ltd (BRTChip)]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition in file WinTypes.h.

Macro Definition Documentation

◆ CE_BREAK

#define CE_BREAK   0x0010

Break Detected

Definition at line 107 of file WinTypes.h.

◆ CE_DNS

#define CE_DNS   0x0800

LPTx Device not selected

Definition at line 111 of file WinTypes.h.

◆ CE_FRAME

#define CE_FRAME   0x0008

Receive Framing error

Definition at line 106 of file WinTypes.h.

◆ CE_IOE

#define CE_IOE   0x0400

LPTx I/O Error

Definition at line 110 of file WinTypes.h.

◆ CE_MODE

#define CE_MODE   0x8000

Requested mode unsupported

Definition at line 113 of file WinTypes.h.

◆ CE_OOP

#define CE_OOP   0x1000

LPTx Out-Of-Paper

Definition at line 112 of file WinTypes.h.

◆ CE_OVERRUN

#define CE_OVERRUN   0x0002

Receive Overrun Error

Definition at line 104 of file WinTypes.h.

◆ CE_PTO

#define CE_PTO   0x0200

LPTx Timeout

Definition at line 109 of file WinTypes.h.

◆ CE_RXOVER

#define CE_RXOVER   0x0001

Receive Queue overflow

Definition at line 103 of file WinTypes.h.

◆ CE_RXPARITY

#define CE_RXPARITY   0x0004

Receive Parity Error

Definition at line 105 of file WinTypes.h.

◆ CE_TXFULL

#define CE_TXFULL   0x0100

TX Queue is full

Definition at line 108 of file WinTypes.h.

◆ FALSE

#define FALSE   0

Definition at line 89 of file WinTypes.h.

◆ INVALID_HANDLE_VALUE

#define INVALID_HANDLE_VALUE   0xFFFFFFFF

Definition at line 117 of file WinTypes.h.

◆ MAX_NUM_DEVICES

#define MAX_NUM_DEVICES   50

Definition at line 35 of file WinTypes.h.

◆ MS_CTS_ON

#define MS_CTS_ON   ((DWORD)0x0010)

Definition at line 94 of file WinTypes.h.

◆ MS_DSR_ON

#define MS_DSR_ON   ((DWORD)0x0020)

Definition at line 95 of file WinTypes.h.

◆ MS_RING_ON

#define MS_RING_ON   ((DWORD)0x0040)

Definition at line 96 of file WinTypes.h.

◆ MS_RLSD_ON

#define MS_RLSD_ON   ((DWORD)0x0080)

Definition at line 97 of file WinTypes.h.

◆ TRUE

#define TRUE   1

Definition at line 86 of file WinTypes.h.

Typedef Documentation

◆ BOOL

typedef unsigned int BOOL

Definition at line 46 of file WinTypes.h.

◆ BOOLEAN

typedef unsigned char BOOLEAN

Definition at line 47 of file WinTypes.h.

◆ BYTE

typedef unsigned char BYTE

Definition at line 44 of file WinTypes.h.

◆ CHAR

typedef unsigned char CHAR

Definition at line 48 of file WinTypes.h.

◆ DWORD

typedef unsigned int DWORD

Definition at line 38 of file WinTypes.h.

◆ FILETIME

typedef struct timeval FILETIME

Definition at line 84 of file WinTypes.h.

◆ HANDLE

typedef void* HANDLE

Definition at line 54 of file WinTypes.h.

◆ INT

typedef int INT

Definition at line 56 of file WinTypes.h.

◆ LONG

typedef unsigned int LONG

Definition at line 55 of file WinTypes.h.

◆ LPBOOL

typedef BOOL* LPBOOL

Definition at line 49 of file WinTypes.h.

◆ LPBYTE

typedef BYTE* LPBYTE

Definition at line 45 of file WinTypes.h.

◆ LPCSTR

typedef const char* LPCSTR

Definition at line 51 of file WinTypes.h.

◆ LPDWORD

typedef DWORD* LPDWORD

Definition at line 60 of file WinTypes.h.

◆ LPOVERLAPPED

typedef struct _OVERLAPPED * LPOVERLAPPED

◆ LPSECURITY_ATTRIBUTES

◆ LPSTR

typedef char* LPSTR

Definition at line 58 of file WinTypes.h.

◆ LPTSTR

typedef char* LPTSTR

Definition at line 59 of file WinTypes.h.

◆ LPVOID

typedef PVOID LPVOID

Definition at line 63 of file WinTypes.h.

◆ LPWORD

typedef WORD* LPWORD

Definition at line 61 of file WinTypes.h.

◆ OVERLAPPED

typedef struct _OVERLAPPED OVERLAPPED

◆ PCHAR

typedef char* PCHAR

Definition at line 52 of file WinTypes.h.

◆ PUCHAR

typedef UCHAR* PUCHAR

Definition at line 50 of file WinTypes.h.

◆ PULONG

typedef ULONG* PULONG

Definition at line 62 of file WinTypes.h.

◆ PVOID

typedef void* PVOID

Definition at line 53 of file WinTypes.h.

◆ SECURITY_ATTRIBUTES

◆ SHORT

typedef unsigned short SHORT

Definition at line 41 of file WinTypes.h.

◆ SYSTEMTIME

typedef struct timeval SYSTEMTIME

Definition at line 83 of file WinTypes.h.

◆ UCHAR

typedef unsigned char UCHAR

Definition at line 42 of file WinTypes.h.

◆ UINT

typedef unsigned int UINT

Definition at line 57 of file WinTypes.h.

◆ ULONG

typedef unsigned int ULONG

Definition at line 39 of file WinTypes.h.

◆ ULONGLONG

typedef unsigned long long int ULONGLONG

Definition at line 65 of file WinTypes.h.

◆ USHORT

typedef unsigned short USHORT

Definition at line 40 of file WinTypes.h.

◆ VOID

typedef void VOID

Definition at line 64 of file WinTypes.h.

◆ WORD

typedef unsigned short WORD

Definition at line 43 of file WinTypes.h.