PFND3D12DDI_CREATESCHEDULINGGROUPCONTEXT_CB_0050 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

PFND3D12DDI_CREATESCHEDULINGGROUPCONTEXT_CB_0050 Pfnd3d12ddiCreateschedulinggroupcontextCb0050;

HRESULT Pfnd3d12ddiCreateschedulinggroupcontextCb0050(
  D3D12DDI_HRTSCHEDULINGGROUP_0050 hRTSchedulingGroup,
  D3DDDICB_CREATECONTEXT *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d12umddi-pfnd3d12ddi_createschedulinggroupcontext_cb_0050)

PFND3D12DDI_CREATESCHEDULINGGROUPCONTEXT_CB_0050 callback function

Description

Creates a context associated with a scheduling group.

Parameters

hRTSchedulingGroup

A D3D12DDI_HRTSCHEDULINGGROUP_0050 runtime handle type that represents the contexts associated with a hardware scheduling group.

unnamedParam2

Pointer to a D3DDDICB_CREATECONTEXT structure that contains information needed to create a context.

Return value

Returns HRESULT.

Prototype

//Declaration

PFND3D12DDI_CREATESCHEDULINGGROUPCONTEXT_CB_0050 Pfnd3d12ddiCreateschedulinggroupcontextCb0050;

// Definition

HRESULT Pfnd3d12ddiCreateschedulinggroupcontextCb0050
(
    D3D12DDI_HRTSCHEDULINGGROUP_0050 hRTSchedulingGroup
    D3DDDICB_CREATECONTEXT *
)
{...}

Remarks

Destroys are not provided for these objects, as their lifetime is completely managed by the owning runtime object. Validation will be in place that hardware queue creation must be done against a context either associated with the same command queue, or with a parent scheduling group. The driver is allowed to create hardware queues which reference both types of contexts for a single CreateCommandQueue. The CreateCommandQueue callback is reviewed so the driver is informed of this relationship.

See also