UID | title | description | tech.root | ms.date | keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.lib | req.dll | req.irql | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | targetos | ms.custom | f1_keywords | topic_type | api_type | api_location | api_name | dev_langs | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3d12umddi.PFND3D12DDI_QUEUEPROCESSINGWORK_CB_0062 |
PFND3D12DDI_QUEUEPROCESSINGWORK_CB_0062 |
PfnQueueProcessingWorkCb is provided by the runtime and called by user mode drivers to register and queue work items. |
display |
04/04/2019 |
|
d3d12umddi.h |
Windows 10, version 1903 |
Windows |
D3D12 Release 6, Build rev 2., 19H1 |
|
|
|
|
|
|
PfnQueueProcessingWorkCb is provided by the runtime and called by user mode drivers to register and queue work items.
The runtime is responsible for managing threads, either directly, or through a Thread Pool. The UMD will not have any control over which thread the work is processed on. Work will be processed in the order it was received. PfnQueueProcessingWorkCb may be called from multiple threads concurrently and is thread safe (runtime will serialize).
The handle of the device for the driver to use when it calls back into the runtime.
Pointer to a PFND3D12DDI_UMD_CALLBACK_METHOD callback that is called from the thread where work is being performed.
Pointer to a PFND3D12DDI_UMD_CALLBACK_METHOD callback that is called if the device is destroyed before pfnCallback has executed.
Pointer to a device context that is passed to pfnCallback or pfnCancel.
Returns HRESULT.
//Declaration
PFND3D12DDI_QUEUEPROCESSINGWORK_CB_0062 Pfnd3d12ddiQueueprocessingworkCb0062;
// Definition
HRESULT Pfnd3d12ddiQueueprocessingworkCb0062
(
D3D12DDI_HRTDEVICE hRTDevice
PFND3D12DDI_UMD_CALLBACK_METHOD pfnCallback
PFND3D12DDI_UMD_CALLBACK_METHOD pfnCancel
void *pContext
)
{...}