Jungo WinDriver  
Official Documentation
windrvr_events.h
Go to the documentation of this file.
1/* @JUNGO_COPYRIGHT@ */
2
3#ifndef _WINDRVR_EVENTS_H_
4#define _WINDRVR_EVENTS_H_
5
6#include "windrvr.h"
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef void (*EVENT_HANDLER)(WD_EVENT *pEvent, void *pData);
13typedef void event_handle_t;
14
15DWORD DLLCALLCONV EventRegister(HANDLE *phEvent, HANDLE hWD, WD_EVENT *pEvent,
16 EVENT_HANDLER pFunc, void *pData);
17DWORD DLLCALLCONV EventUnregister(HANDLE hEvent);
18
19WD_EVENT * DLLCALLCONV EventAlloc(DWORD dwNumMatchTables);
23 DWORD dwNumMatchTables, DWORD dwOptions, DWORD dwAction);
25 DWORD dwOptions, DWORD dwAction);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif /* _WINDRVR_EVENTS_H_ */
32
#define DLLCALLCONV
Definition: windrvr.h:32
WD_EVENT *DLLCALLCONV EventDup(WD_EVENT *peSrc)
void(* EVENT_HANDLER)(WD_EVENT *pEvent, void *pData)
void DLLCALLCONV EventFree(WD_EVENT *pe)
DWORD DLLCALLCONV EventRegister(HANDLE *phEvent, HANDLE hWD, WD_EVENT *pEvent, EVENT_HANDLER pFunc, void *pData)
DWORD DLLCALLCONV EventUnregister(HANDLE hEvent)
WD_EVENT *DLLCALLCONV EventAlloc(DWORD dwNumMatchTables)
void event_handle_t
WD_EVENT *DLLCALLCONV UsbEventCreate(WDU_MATCH_TABLE *pMatchTables, DWORD dwNumMatchTables, DWORD dwOptions, DWORD dwAction)
WD_EVENT *DLLCALLCONV PciEventCreate(WD_PCI_ID cardId, WD_PCI_SLOT pciSlot, DWORD dwOptions, DWORD dwAction)