PFND3DWDDM2_0DDI_CREATEUNORDEREDACCESSVIEW callback function (d3d10umddi.h)

CreateUnorderedAccessView(WDDM 2.0) creates an unordered access view.

Syntax

PFND3DWDDM2_0DDI_CREATEUNORDEREDACCESSVIEW Pfnd3dwddm20DdiCreateunorderedaccessview;

void Pfnd3dwddm20DdiCreateunorderedaccessview(
  D3D10DDI_HDEVICE unnamedParam1,
  const D3DWDDM2_0DDIARG_CREATEUNORDEREDACCESSVIEW *unnamedParam2,
  D3D11DDI_HUNORDEREDACCESSVIEW unnamedParam3,
  D3D11DDI_HRTUNORDEREDACCESSVIEW unnamedParam4
)
{...}

Parameters

unnamedParam1

[in] hDevice is a handle to the display device (graphics context).

unnamedParam2

[in] pCreateUnorderedAccessView is a pointer to a D3DWDDM2_0DDIARG_CREATEUNORDEREDACCESSVIEW structure that describes the parameters that the user-mode display driver uses to create an unordered access view.

unnamedParam3

[in] hUnorderedAccessView is a handle to the driver's private data for the unordered access view.

unnamedParam4

[in] hRTUnorderedAccessView is a handle to the unordered access view that the driver should use when it calls back into the Direct3D runtime.

Return value

None

Remarks

The driver might run out of memory. Therefore, the driver can pass E_OUTOFMEMORY or D3DDDIERR_DEVICEREMOVED in a call to the pfnSetErrorCb function. The Direct3D runtime determines that any other errors are critical. If the driver passes any errors, which includes D3DDDIERR_DEVICEREMOVED, the Direct3D runtime determines that the handle is invalid; therefore, the runtime does not call the DestroyUnorderedAccessView function to destroy the handle that the hUnorderedAccessView parameter specifies.

Requirements

Requirement Value
Minimum supported client Windows 10 (WDDM 2.0)
Header d3d10umddi.h

See also

CalcPrivateUnorderedAccessViewSize (WDDM 2.0)

D3DWDDM2_0DDIARG_CREATEUNORDEREDACCESSVIEW

DestroyUnorderedAccessView

D3D11DDI_DEVICEFUNCS

pfnSetErrorCb