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 BYTE * | LPBYTE |
typedef unsigned int | BOOL |
typedef unsigned char | BOOLEAN |
typedef unsigned char | CHAR |
typedef BOOL * | LPBOOL |
typedef UCHAR * | PUCHAR |
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 DWORD * | LPDWORD |
typedef WORD * | LPWORD |
typedef ULONG * | PULONG |
typedef PVOID | LPVOID |
typedef void | VOID |
typedef unsigned long long int | ULONGLONG |
typedef struct _OVERLAPPED | OVERLAPPED |
typedef struct _OVERLAPPED * | LPOVERLAPPED |
typedef struct _SECURITY_ATTRIBUTES | SECURITY_ATTRIBUTES |
typedef struct _SECURITY_ATTRIBUTES * | LPSECURITY_ATTRIBUTES |
typedef struct timeval | SYSTEMTIME |
typedef struct timeval | FILETIME |
Window OS types.
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.
#define CE_BREAK 0x0010 |
Break Detected
Definition at line 107 of file WinTypes.h.
#define CE_DNS 0x0800 |
LPTx Device not selected
Definition at line 111 of file WinTypes.h.
#define CE_FRAME 0x0008 |
Receive Framing error
Definition at line 106 of file WinTypes.h.
#define CE_IOE 0x0400 |
LPTx I/O Error
Definition at line 110 of file WinTypes.h.
#define CE_MODE 0x8000 |
Requested mode unsupported
Definition at line 113 of file WinTypes.h.
#define CE_OOP 0x1000 |
LPTx Out-Of-Paper
Definition at line 112 of file WinTypes.h.
#define CE_OVERRUN 0x0002 |
Receive Overrun Error
Definition at line 104 of file WinTypes.h.
#define CE_PTO 0x0200 |
LPTx Timeout
Definition at line 109 of file WinTypes.h.
#define CE_RXOVER 0x0001 |
Receive Queue overflow
Definition at line 103 of file WinTypes.h.
#define CE_RXPARITY 0x0004 |
Receive Parity Error
Definition at line 105 of file WinTypes.h.
#define CE_TXFULL 0x0100 |
TX Queue is full
Definition at line 108 of file WinTypes.h.
#define FALSE 0 |
Definition at line 89 of file WinTypes.h.
#define INVALID_HANDLE_VALUE 0xFFFFFFFF |
Definition at line 117 of file WinTypes.h.
#define MAX_NUM_DEVICES 50 |
Definition at line 35 of file WinTypes.h.
#define MS_CTS_ON ((DWORD)0x0010) |
Definition at line 94 of file WinTypes.h.
#define MS_DSR_ON ((DWORD)0x0020) |
Definition at line 95 of file WinTypes.h.
#define MS_RING_ON ((DWORD)0x0040) |
Definition at line 96 of file WinTypes.h.
#define MS_RLSD_ON ((DWORD)0x0080) |
Definition at line 97 of file WinTypes.h.
#define TRUE 1 |
Definition at line 86 of file WinTypes.h.
typedef unsigned int BOOL |
Definition at line 46 of file WinTypes.h.
typedef unsigned char BOOLEAN |
Definition at line 47 of file WinTypes.h.
typedef unsigned char BYTE |
Definition at line 44 of file WinTypes.h.
typedef unsigned char CHAR |
Definition at line 48 of file WinTypes.h.
typedef unsigned int DWORD |
Definition at line 38 of file WinTypes.h.
typedef struct timeval FILETIME |
Definition at line 84 of file WinTypes.h.
typedef void* HANDLE |
Definition at line 54 of file WinTypes.h.
typedef int INT |
Definition at line 56 of file WinTypes.h.
typedef unsigned int LONG |
Definition at line 55 of file WinTypes.h.
Definition at line 49 of file WinTypes.h.
Definition at line 45 of file WinTypes.h.
typedef const char* LPCSTR |
Definition at line 51 of file WinTypes.h.
Definition at line 60 of file WinTypes.h.
typedef struct _OVERLAPPED * LPOVERLAPPED |
typedef struct _SECURITY_ATTRIBUTES * LPSECURITY_ATTRIBUTES |
typedef char* LPSTR |
Definition at line 58 of file WinTypes.h.
typedef char* LPTSTR |
Definition at line 59 of file WinTypes.h.
Definition at line 63 of file WinTypes.h.
Definition at line 61 of file WinTypes.h.
typedef struct _OVERLAPPED OVERLAPPED |
typedef char* PCHAR |
Definition at line 52 of file WinTypes.h.
Definition at line 50 of file WinTypes.h.
Definition at line 62 of file WinTypes.h.
typedef void* PVOID |
Definition at line 53 of file WinTypes.h.
typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES |
typedef unsigned short SHORT |
Definition at line 41 of file WinTypes.h.
typedef struct timeval SYSTEMTIME |
Definition at line 83 of file WinTypes.h.
typedef unsigned char UCHAR |
Definition at line 42 of file WinTypes.h.
typedef unsigned int UINT |
Definition at line 57 of file WinTypes.h.
typedef unsigned int ULONG |
Definition at line 39 of file WinTypes.h.
typedef unsigned long long int ULONGLONG |
Definition at line 65 of file WinTypes.h.
typedef unsigned short USHORT |
Definition at line 40 of file WinTypes.h.
typedef void VOID |
Definition at line 64 of file WinTypes.h.
typedef unsigned short WORD |
Definition at line 43 of file WinTypes.h.