Skip to content

Latest commit

 

History

History
86 lines (61 loc) · 4 KB

ns-d3dkmddi-_dxgk_openallocationinfo.md

File metadata and controls

86 lines (61 loc) · 4 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
NS:d3dkmddi._DXGK_OPENALLOCATIONINFO
_DXGK_OPENALLOCATIONINFO (d3dkmddi.h)
The DXGK_OPENALLOCATIONINFO structure contains handles to nondevice-specific and device-specific allocations that the DxgkDdiOpenAllocation function associates.
display\dxgk_openallocationinfo.htm
05/10/2018
DXGK_OPENALLOCATIONINFO structure
DXGK_OPENALLOCATIONINFO, DXGK_OPENALLOCATIONINFO structure [Display Devices], DmStructs_e03247bd-d6b8-42df-ac22-79d906d7c852.xml, _DXGK_OPENALLOCATIONINFO, d3dkmddi/DXGK_OPENALLOCATIONINFO, display.dxgk_openallocationinfo
d3dkmddi.h
D3dkmddi.h
Windows
Windows Vista
Windows
display
DXGK_OPENALLOCATIONINFO
_DXGK_OPENALLOCATIONINFO
d3dkmddi/_DXGK_OPENALLOCATIONINFO
DXGK_OPENALLOCATIONINFO
d3dkmddi/DXGK_OPENALLOCATIONINFO
APIRef
kbSyntax
HeaderDef
d3dkmddi.h
_DXGK_OPENALLOCATIONINFO
DXGK_OPENALLOCATIONINFO

_DXGK_OPENALLOCATIONINFO structure

-description

The DXGK_OPENALLOCATIONINFO structure contains handles to nondevice-specific and device-specific allocations that the DxgkDdiOpenAllocation function associates.

-struct-fields

-field hAllocation [in]

A D3DKMT_HANDLE data type that represents a kernel-mode handle to the nondevice-specific allocation that the DxgkDdiCreateAllocation function created. The Microsoft DirectX graphics kernel subsystem (which is part of Dxgkrnl.sys) assigned this handle for the allocation.

-field pPrivateDriverData [in/out]

A pointer to a block of private data that is passed between the user-mode display driver and the display miniport driver. This block of private data is the same allocation-specific data that is passed in the pPrivateDriverData member of the DXGK_ALLOCATIONINFO structure in the call to the DxgkDdiCreateAllocation function. The display miniport driver's DxgkDdiOpenAllocation function can modify this block of private data if the Create bit-field flag is set in the Flags member of the DXGKARG_OPENALLOCATION structure. The user-mode display driver can access modifications to the block of private data.

-field PrivateDriverDataSize [in]

The size, in bytes, of the block of private data that pPrivateDriverData points to.

-field hDeviceSpecificAllocation [out]

A handle to the device-specific allocation that corresponds to the non device-specific allocation that hAllocation specifies. The display miniport driver must set hDeviceSpecificAllocation to a handle value that it can use to refer to its private tracking structure for the allocation.

-see-also

DXGKARG_OPENALLOCATION

DXGK_ALLOCATIONINFO

DxgkDdiCreateAllocation

DxgkDdiOpenAllocation