D3DKMT_OFFERALLOCATIONS structure (d3dkmthk.h)

Defines the video memory allocations that the driver offers for reuse. Used with the D3DKMTOfferAllocations function.

Syntax

typedef struct _D3DKMT_OFFERALLOCATIONS {
  [in] D3DKMT_HANDLE         hDevice;
  void                  D3DKMT_PTR(
    D3DKMT_HANDLE *unnamedParam1,
    pResources    unnamedParam2
  );
  void                  D3DKMT_PTR(
    const D3DKMT_HANDLE *unnamedParam1,
    HandleList          unnamedParam2
  );
  [in] UINT                  NumAllocations;
  [in] D3DKMT_OFFER_PRIORITY Priority;
       D3DKMT_OFFER_FLAGS    Flags;
} D3DKMT_OFFERALLOCATIONS;

Members

[in] hDevice

A D3DKMT_HANDLE data type that represents a kernel-mode handle to the device that created the allocations.

void D3DKMT_PTR( D3DKMT_HANDLE *unnamedParam1, pResources unnamedParam2)

void D3DKMT_PTR( const D3DKMT_HANDLE *unnamedParam1, HandleList unnamedParam2)

[in] NumAllocations

The number of items in the pResources or HandleList members, whichever is not NULL.

[in] Priority

The priority, of type D3DKMT_OFFER_PRIORITY, with which to offer the allocations for reuse.

Flags

Flag options.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTOfferAllocations

D3DKMT_OFFER_PRIORITY