Skip to content

Latest commit

 

History

History
93 lines (68 loc) · 2.77 KB

nc-d3d12umddi-pfnd3d12ddi_createheapandresource_0088.md

File metadata and controls

93 lines (68 loc) · 2.77 KB
UID tech.root title ms.date targetos description prerelease req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs helpviewer_keywords
NC:d3d12umddi.PFND3D12DDI_CREATEHEAPANDRESOURCE_0088
display
PFND3D12DDI_CREATEHEAPANDRESOURCE_0088
02/24/2023
Windows
Learn more about the PFND3D12DDI_CREATEHEAPANDRESOURCE_0088 callback function.
false
function
d3d12umddi.h
Windows 11 (WDDM 3.0)
apiref
LibDef
d3d12umddi.h
PFND3D12DDI_CREATEHEAPANDRESOURCE_0088
PFND3D12DDI_CREATEHEAPANDRESOURCE_0088
d3d12umddi/PFND3D12DDI_CREATEHEAPANDRESOURCE_0088
c++
PFND3D12DDI_CREATEHEAPANDRESOURCE_0088

-description

A user-mode display driver's PFND3D12DDI_CREATEHEAPANDRESOURCE_0088 function simultaneously creates a heap and resource.

-parameters

-param unnamedParam1 [in]

A D3D12DDI_HDEVICE handle to the display device (graphics context).

-param unnamedParam2 [in, optional]

A D3D12DDIARG_CREATEHEAP_0001 structure containing the arguments used to create a heap.

-param unnamedParam3 [in]

The D3D12DDI_HHEAP handle to a heap.

-param unnamedParam4 [in]

The D3D12DDI_HRTRESOURCE handle of the resource for the driver to use when it calls back into the runtime.

-param unnamedParam5 [in, optional]

Pointer to a D3D12DDIARG_CREATERESOURCE_0088 structure with arguments used to create a resource.

-param unnamedParam6 [in, optional]

Pointer to a D3D12DDI_CLEAR_VALUES structure with values used to optimize clear operations for the resource.

-param unnamedParam7

A D3D12DDI_HPROTECTEDRESOURCESESSION_0030 handle to the protected resource session to use for the resource being created. Zero indicates unprotected resources. See the Protected Resources Specification for more information.

-param unnamedParam8

The D3D12DDI_HRESOURCE handle to the hardware resource.

-returns

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

D3D12DDIARG_CREATERESOURCE_0088

D3D12DDI_CLEAR_VALUES

PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0088