Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 2.65 KB

nc-d3d10umddi-pfnd3d11ddi_calcprivateresourcesize.md

File metadata and controls

75 lines (56 loc) · 2.65 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3d10umddi.PFND3D11DDI_CALCPRIVATERESOURCESIZE
PFND3D11DDI_CALCPRIVATERESOURCESIZE (d3d10umddi.h)
The CalcPrivateResourceSize(D3D11) function determines the size of the user-mode display driver's private region of memory (that is, the size of internal driver structures, not the size of the resource video memory).
display\calcprivateresourcesize_d3d11_.htm
05/10/2018
PFND3D11DDI_CALCPRIVATERESOURCESIZE callback function
CalcPrivateResourceSize, CalcPrivateResourceSize callback function [Display Devices], PFND3D11DDI_CALCPRIVATERESOURCESIZE, PFND3D11DDI_CALCPRIVATERESOURCESIZE callback, UserModeDisplayDriverDx11_Functions_85fd70d1-91ec-4b9d-b379-18b5d3d43e67.xml, d3d10umddi/CalcPrivateResourceSize, display.calcprivateresourcesize_d3d11_
d3d10umddi.h
D3d10umddi.h
Desktop
CalcPrivateResourceSize(D3D11) is supported beginning with the Windows 7 operating system.
Windows
display
PFND3D11DDI_CALCPRIVATERESOURCESIZE
d3d10umddi/PFND3D11DDI_CALCPRIVATERESOURCESIZE
APIRef
kbSyntax
UserDefined
d3d10umddi.h
PFND3D11DDI_CALCPRIVATERESOURCESIZE

PFND3D11DDI_CALCPRIVATERESOURCESIZE callback function

-description

The CalcPrivateResourceSize(D3D11) function determines the size of the user-mode display driver's private region of memory (that is, the size of internal driver structures, not the size of the resource video memory).

-parameters

-param unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

-param unnamedParam2

pCreateResource [in]

A pointer to a D3D11DDIARG_CREATERESOURCE structure that describes the parameters that the user-mode display driver uses to calculate the size of the memory region.

-returns

CalcPrivateResourceSize(D3D11) returns the size of the memory region that the driver requires to create resources.

-see-also

D3D11DDIARG_CREATERESOURCE

D3D11DDI_DEVICEFUNCS