PacMaster 2.0(r200)
Controls digital PAC measurements and collects the results
Classes | Defines | Typedefs | Functions

iowkit.h File Reference

Go to the source code of this file.

Classes

struct  _IOWKIT_REPORT
struct  _IOWKIT40_IO_REPORT
struct  _IOWKIT24_IO_REPORT
struct  _IOWKIT_SPECIAL_REPORT
struct  _IOWKIT56_IO_REPORT
struct  _IOWKIT56_SPECIAL_REPORT

Defines

#define IOWKIT_API
#define _IOW_WINTYPES_H_
#define IOWKIT_VENDOR_ID   0x07c0
#define IOWKIT_VID   IOWKIT_VENDOR_ID
#define IOWKIT_PRODUCT_ID_IOW40   0x1500
#define IOWKIT_PID_IOW40   IOWKIT_PRODUCT_ID_IOW40
#define IOWKIT_PRODUCT_ID_IOW24   0x1501
#define IOWKIT_PID_IOW24   IOWKIT_PRODUCT_ID_IOW24
#define IOWKIT_PRODUCT_ID_IOWPV1   0x1511
#define IOWKIT_PID_IOWPV1   IOWKIT_PRODUCT_ID_IOWPV1
#define IOWKIT_PRODUCT_ID_IOWPV2   0x1512
#define IOWKIT_PID_IOWPV2   IOWKIT_PRODUCT_ID_IOWPV2
#define IOWKIT_PRODUCT_ID_IOW56   0x1503
#define IOWKIT_PID_IOW56   IOWKIT_PRODUCT_ID_IOW56
#define IOWKIT_MAX_PIPES   2
#define IOW_PIPE_IO_PINS   0
#define IOW_PIPE_SPECIAL_MODE   1
#define IOWKIT_MAX_DEVICES   16
#define IOW_OPEN_SIMPLE   1
#define IOW_OPEN_COMPLEX   2
#define IOW_NON_LEGACY_REVISION   0x1010
#define IOWKIT_REPORT_SIZE   sizeof(IOWKIT_REPORT)
#define IOWKIT40_IO_REPORT_SIZE   sizeof(IOWKIT40_IO_REPORT)
#define IOWKIT24_IO_REPORT_SIZE   sizeof(IOWKIT24_IO_REPORT)
#define IOWKIT_SPECIAL_REPORT_SIZE   sizeof(IOWKIT_SPECIAL_REPORT)
#define IOWKIT56_IO_REPORT_SIZE   sizeof(IOWKIT56_IO_REPORT)
#define IOWKIT56_SPECIAL_REPORT_SIZE   sizeof(IOWKIT56_SPECIAL_REPORT)

Typedefs

typedef unsigned long ULONG
typedef long LONG
typedef unsigned short USHORT
typedef unsigned short WORD
typedef unsigned char UCHAR
typedef unsigned char BYTE
typedef char * PCHAR
typedef unsigned short * PWCHAR
typedef int BOOL
typedef unsigned char BOOLEAN
typedef unsigned int DWORD
typedef DWORDPDWORD
typedef void * PVOID
typedef DWORD HANDLE
typedef ULONGPULONG
typedef const char * PCSTR
typedef const unsigned short * PWCSTR
typedef struct _IOWKIT_REPORT IOWKIT_REPORT
typedef struct _IOWKIT_REPORTPIOWKIT_REPORT
typedef struct _IOWKIT40_IO_REPORT IOWKIT40_IO_REPORT
typedef struct
_IOWKIT40_IO_REPORT
PIOWKIT40_IO_REPORT
typedef struct _IOWKIT24_IO_REPORT IOWKIT24_IO_REPORT
typedef struct
_IOWKIT24_IO_REPORT
PIOWKIT24_IO_REPORT
typedef struct
_IOWKIT_SPECIAL_REPORT 
IOWKIT_SPECIAL_REPORT
typedef struct
_IOWKIT_SPECIAL_REPORT
PIOWKIT_SPECIAL_REPORT
typedef struct _IOWKIT56_IO_REPORT IOWKIT56_IO_REPORT
typedef struct
_IOWKIT56_IO_REPORT
PIOWKIT56_IO_REPORT
typedef struct
_IOWKIT56_SPECIAL_REPORT 
IOWKIT56_SPECIAL_REPORT
typedef struct
_IOWKIT56_SPECIAL_REPORT
PIOWKIT56_SPECIAL_REPORT
typedef PVOID IOWKIT_HANDLE

Functions

IOWKIT_HANDLE IOWKIT_API IowKitOpenDevice (void)
void IOWKIT_API IowKitCloseDevice (IOWKIT_HANDLE devHandle)
ULONG IOWKIT_API IowKitWrite (IOWKIT_HANDLE devHandle, ULONG numPipe, PCHAR buffer, ULONG length)
ULONG IOWKIT_API IowKitRead (IOWKIT_HANDLE devHandle, ULONG numPipe, PCHAR buffer, ULONG length)
ULONG IOWKIT_API IowKitReadNonBlocking (IOWKIT_HANDLE devHandle, ULONG numPipe, PCHAR buffer, ULONG length)
BOOL IOWKIT_API IowKitReadImmediate (IOWKIT_HANDLE devHandle, PDWORD value)
ULONG IOWKIT_API IowKitGetNumDevs (void)
IOWKIT_HANDLE IOWKIT_API IowKitGetDeviceHandle (ULONG numDevice)
BOOL IOWKIT_API IowKitSetLegacyOpenMode (ULONG legacyOpenMode)
ULONG IOWKIT_API IowKitGetProductId (IOWKIT_HANDLE devHandle)
ULONG IOWKIT_API IowKitGetRevision (IOWKIT_HANDLE devHandle)
HANDLE IOWKIT_API IowKitGetThreadHandle (IOWKIT_HANDLE devHandle)
BOOL IOWKIT_API IowKitGetSerialNumber (IOWKIT_HANDLE devHandle, PWCHAR serialNumber)
BOOL IOWKIT_API IowKitSetTimeout (IOWKIT_HANDLE devHandle, ULONG timeout)
BOOL IOWKIT_API IowKitSetWriteTimeout (IOWKIT_HANDLE devHandle, ULONG timeout)
BOOL IOWKIT_API IowKitCancelIo (IOWKIT_HANDLE devHandle, ULONG numPipe)
PCSTR IOWKIT_API IowKitVersion (void)

Define Documentation

#define _IOW_WINTYPES_H_
#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

Typedef Documentation

typedef int BOOL
typedef unsigned char BOOLEAN
typedef unsigned char BYTE
typedef unsigned int DWORD
typedef DWORD HANDLE
typedef struct _IOWKIT_REPORT IOWKIT_REPORT
typedef long LONG
typedef char* PCHAR
typedef const char* PCSTR
typedef DWORD* PDWORD
typedef struct _IOWKIT_REPORT * PIOWKIT_REPORT
typedef ULONG* PULONG
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

Function Documentation

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 IowKitSetLegacyOpenMode ( ULONG  legacyOpenMode)
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 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines