Go to the source code of this file.
#define FALSE 0 |
#define IOW_NON_LEGACY_REVISION 0x1010 |
#define IOW_OPEN_COMPLEX 2 |
#define IOW_OPEN_SIMPLE 1 |
#define IOW_PIPE_IO_PINS 0 |
#define IOW_PIPE_SPECIAL_MODE 1 |
#define IOWKIT24_IO_REPORT_SIZE sizeof(IOWKIT24_IO_REPORT) |
#define IOWKIT40_IO_REPORT_SIZE sizeof(IOWKIT40_IO_REPORT) |
#define IOWKIT56_IO_REPORT_SIZE sizeof(IOWKIT56_IO_REPORT) |
#define IOWKIT56_SPECIAL_REPORT_SIZE sizeof(IOWKIT56_SPECIAL_REPORT) |
#define IOWKIT_API |
#define IOWKIT_MAX_DEVICES 16 |
#define IOWKIT_MAX_PIPES 2 |
#define IOWKIT_PID_IOW24 IOWKIT_PRODUCT_ID_IOW24 |
#define IOWKIT_PID_IOW40 IOWKIT_PRODUCT_ID_IOW40 |
#define IOWKIT_PID_IOW56 IOWKIT_PRODUCT_ID_IOW56 |
#define IOWKIT_PID_IOWPV1 IOWKIT_PRODUCT_ID_IOWPV1 |
#define IOWKIT_PID_IOWPV2 IOWKIT_PRODUCT_ID_IOWPV2 |
#define IOWKIT_PRODUCT_ID_IOW24 0x1501 |
#define IOWKIT_PRODUCT_ID_IOW40 0x1500 |
#define IOWKIT_PRODUCT_ID_IOW56 0x1503 |
#define IOWKIT_PRODUCT_ID_IOWPV1 0x1511 |
#define IOWKIT_PRODUCT_ID_IOWPV2 0x1512 |
#define IOWKIT_REPORT_SIZE sizeof(IOWKIT_REPORT) |
#define IOWKIT_SPECIAL_REPORT_SIZE sizeof(IOWKIT_SPECIAL_REPORT) |
#define IOWKIT_VENDOR_ID 0x07c0 |
#define IOWKIT_VID IOWKIT_VENDOR_ID |
#define TRUE 1 |
typedef int BOOL |
typedef unsigned char BOOLEAN |
typedef unsigned char BYTE |
typedef unsigned long DWORD |
typedef struct _IOWKIT24_IO_REPORT IOWKIT24_IO_REPORT |
typedef struct _IOWKIT40_IO_REPORT IOWKIT40_IO_REPORT |
typedef struct _IOWKIT56_IO_REPORT IOWKIT56_IO_REPORT |
typedef struct _IOWKIT56_SPECIAL_REPORT IOWKIT56_SPECIAL_REPORT |
typedef PVOID IOWKIT_HANDLE |
typedef struct _IOWKIT_REPORT IOWKIT_REPORT |
typedef struct _IOWKIT_SPECIAL_REPORT IOWKIT_SPECIAL_REPORT |
typedef long LONG |
typedef char* PCHAR |
typedef const char* PCSTR |
typedef struct _IOWKIT24_IO_REPORT * PIOWKIT24_IO_REPORT |
typedef struct _IOWKIT40_IO_REPORT * PIOWKIT40_IO_REPORT |
typedef struct _IOWKIT56_IO_REPORT * PIOWKIT56_IO_REPORT |
typedef struct _IOWKIT56_SPECIAL_REPORT * PIOWKIT56_SPECIAL_REPORT |
typedef struct _IOWKIT_REPORT * PIOWKIT_REPORT |
typedef struct _IOWKIT_SPECIAL_REPORT * PIOWKIT_SPECIAL_REPORT |
typedef void* PVOID |
typedef unsigned short* PWCHAR |
typedef const unsigned short* PWCSTR |
typedef unsigned char UCHAR |
typedef unsigned long ULONG |
typedef unsigned short USHORT |
typedef unsigned short WORD |
BOOL IOWKIT_API IowKitCancelIo | ( | IOWKIT_HANDLE | devHandle, | |
ULONG | numPipe | |||
) |
void IOWKIT_API IowKitCloseDevice | ( | IOWKIT_HANDLE | devHandle | ) |
IOWKIT_HANDLE IOWKIT_API IowKitGetDeviceHandle | ( | ULONG | numDevice | ) |
ULONG IOWKIT_API IowKitGetNumDevs | ( | void | ) |
ULONG IOWKIT_API IowKitGetProductId | ( | IOWKIT_HANDLE | devHandle | ) |
ULONG IOWKIT_API IowKitGetRevision | ( | IOWKIT_HANDLE | devHandle | ) |
BOOL IOWKIT_API IowKitGetSerialNumber | ( | IOWKIT_HANDLE | devHandle, | |
PWCHAR | serialNumber | |||
) |
HANDLE IOWKIT_API IowKitGetThreadHandle | ( | IOWKIT_HANDLE | devHandle | ) |
IOWKIT_HANDLE IOWKIT_API IowKitOpenDevice | ( | void | ) |
ULONG IOWKIT_API IowKitRead | ( | IOWKIT_HANDLE | devHandle, | |
ULONG | numPipe, | |||
PCHAR | buffer, | |||
ULONG | length | |||
) |
BOOL IOWKIT_API IowKitReadImmediate | ( | IOWKIT_HANDLE | devHandle, | |
PDWORD | value | |||
) |
ULONG IOWKIT_API IowKitReadNonBlocking | ( | IOWKIT_HANDLE | devHandle, | |
ULONG | numPipe, | |||
PCHAR | buffer, | |||
ULONG | length | |||
) |
BOOL IOWKIT_API IowKitSetTimeout | ( | IOWKIT_HANDLE | devHandle, | |
ULONG | timeout | |||
) |
BOOL IOWKIT_API IowKitSetWriteTimeout | ( | IOWKIT_HANDLE | devHandle, | |
ULONG | timeout | |||
) |
PCSTR IOWKIT_API IowKitVersion | ( | void | ) |
ULONG IOWKIT_API IowKitWrite | ( | IOWKIT_HANDLE | devHandle, | |
ULONG | numPipe, | |||
PCHAR | buffer, | |||
ULONG | length | |||
) |