DXGKCB_QUEUE_DPC callback function
DxgkCbQueueDpc会queue一个DPC在 IRQL DISPATCH_LEVEL上执行。
Syntax
DXGKCB_QUEUE_DPC DxgkcbQueueDpc;
BOOLEAN DxgkcbQueueDpc(
HANDLE DeviceHandle
)
{...}
Parameters
DeviceHandle
代表显卡的句柄,KMD之前在DxgkDdiStartDevice的DXGKRNL_INTERFACE参数成员DeviceHandle中获得这个句柄。
Return Value
DxgkCbQueueDpc returns TRUE if the DPC is successfully queued; otherwise it returns FALSE.
Remarks
当ISR调用时,该函数为KMD queue 一个DPC并且之后会调用DxgkDdiDpcRoutine
对于这个设备同时只能调用一个回调函数,如果一个设备的回调正准备被调度,这时又有DxgkCbQueueDpc调用,则会返回FALSE并且不会有任何效果。
For more information on the use of this function, see these topics:
Requirements
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | dispmprt.h (include Dispmprt.h) |
IRQL | Any level |