⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 windrvr_events.h

📁 采用windriver提供的API开发的D12应用程序源码
💻 H
字号:
/* Copyright (C) Jungo 2002 - 2006 */

#ifndef _WINDRVR_EVENTS_H_
#define _WINDRVR_EVENTS_H_

#include "windrvr.h"

#ifdef __cplusplus
extern "C" {
#endif  // __cplusplus 

typedef void (*EVENT_HANDLER)(WD_EVENT *pEvent, void *pData);
typedef void event_handle_t;

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 DLLCALLCONV EventFree(WD_EVENT *pe);
WD_EVENT * DLLCALLCONV EventDup(WD_EVENT *peSrc);
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);
WD_EVENT * DLLCALLCONV PcmciaEventCreate(WD_PCMCIA_ID deviceId, WD_PCMCIA_SLOT pcmciaSlot,
    DWORD dwOptions, DWORD dwAction);
#ifdef __cplusplus
}
#endif  // __cplusplus 

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -