EVT_WDF_INTERRUPT_DISABLE回调函数 EVT_WDF_INTERRUPT_DPC回调函数 EVT_WDF_INTERRUPT_ENABLE回调函数 EVT_WDF_INTERRUPT_ISR回调函数 EVT_WDF_INTERRUPT_SYNCHRONIZE回调函数 EVT_WDF_INTERRUPT_WORKITEM回调函数 WDF_INTERRUPT_CONFIG 结构 WDF_INTERRUPT_CONFIG_INIT 函数 ...
Wdfinterrupt.h Wdfio.h Wdfiotarget.h Wdfmemory.h Wdfminiport.h Wdfobject.h Wdfpdo.h Wdfqueryinterface.h 概述 EVT_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST回调函数 WDF_QUERY_INTERFACE_CONFIG 结构 WDF_QUERY_INTERFACE_CONFIG_INIT 函数 WdfDeviceAddQueryInterface 函数 WdfDeviceInterface...
WDF_IO_QUEUE_CONFIG ioCallbacks; WDF_INTERRUPT_CONFIG interruptConfig; // 初始化pnpPowerCallbacks ,设置与PnP和电源管理相关的事件回调函数 WDF_PNPPOWER_EVENT_CALLBACKS_INIT(&pnpPowerCallbacks); pnpPowerCallbacks.EvtDevicePrepareHardware = MyEvtPrepareHardware; pnpPowerCallbacks.EvtDeviceReleaseHardware = My...
interruptConfig.EvtInterruptEnable = tdvrEvtInterruptEnable; interruptConfig.EvtInterruptDisable = tdvrEvtInterruptDisable; // If the driver calls WdfInterruptCreate from EvtDriverDeviceAdd, the InterruptRaw and // InterruptTranslated members of the WDF_INTERRUPT_CONFIG structure must be NULL. // the d...
typedef struct _WDF_INTERRUPT_CONFIG { ULONG Size; WDFSPINLOCK SpinLock; WDF_TRI_STATE ShareVector; BOOLEAN FloatingSave; BOOLEAN AutomaticSerialization; PFN_WDF_INTERRUPT_ISR EvtInterruptIsr; PFN_WDF_INTERRUPT_DPC EvtInterruptDpc; PFN_WDF_INTERRUPT_ENABLE EvtInterruptEnable; PFN_WDF_INTERRUPT_DISABLE...
EVT_WDF_INTERRUPT_ISR回调函数 EVT_WDF_INTERRUPT_SYNCHRONIZE回调函数 EVT_WDF_INTERRUPT_WORKITEM回调函数 WDF_INTERRUPT_CONFIG 结构 WDF_INTERRUPT_CONFIG_INIT 函数 WDF_INTERRUPT_EXTENDED_POLICY 结构 WDF_INTERRUPT_EXTENDED_POLICY_INIT 函数 WDF_INTERRUPT_INFO 结构 ...
Para inicializar uma estruturade WDF_INTERRUPT_CONFIG, o driver deve primeiro chamarWDF_INTERRUPT_CONFIG_INITe, em seguida, preencher os membros da estrutura queWDF_INTERRUPT_CONFIG_INITnão inicializa. SeAutomaticSerializationfor TRUE, as seguintes regras se aplicarão: ...
EVT_WDF_INTERRUPT_SYNCHRONIZE callback function EVT_WDF_INTERRUPT_WORKITEM callback function WDF_INTERRUPT_CONFIG structure WDF_INTERRUPT_CONFIG_INIT function WDF_INTERRUPT_EXTENDED_POLICY structure WDF_INTERRUPT_EXTENDED_POLICY_INIT function WDF_INTERRUPT_INFO structure WDF_INTERRUPT_INFO_INIT function WDF...
//存入DEVICE_INIT结构中 WdfDeviceInitSetFileObjectConfig(device_init,&f_cfg,WDF_NO_OBJECT_ATTRIBUTES); 这样当用户模式的代码调用CreateFile和CloseHandle的时候,这2个回调会被调用。 4. 初始化设备属性并且创建设备 这里创建一个control device WDF_OBJECT_ATTRIBUTES_INIT(&object_attribs); ...
EVT_WDF_INTERRUPT_ISR callback function EVT_WDF_INTERRUPT_SYNCHRONIZE callback function EVT_WDF_INTERRUPT_WORKITEM callback function WDF_INTERRUPT_CONFIG structure WDF_INTERRUPT_CONFIG_INIT function WDF_INTERRUPT_EXTENDED_POLICY structure WDF_INTERRUPT_EXTENDED_POLICY_INIT function WDF_INTERRUPT_INFO structu...