DXGK_OPENALLOCATIONINFO - NtDoc

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

typedef struct _DXGK_OPENALLOCATIONINFO {
  [in]     D3DKMT_HANDLE hAllocation;
  [in/out] VOID          *pPrivateDriverData;
  [in]     UINT          PrivateDriverDataSize;
  [out]    HANDLE        hDeviceSpecificAllocation;
} DXGK_OPENALLOCATIONINFO;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-_dxgk_openallocationinfo)

_DXGK_OPENALLOCATIONINFO structure

Description

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

Members

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.

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.

PrivateDriverDataSize [in]

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

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