D3DDDI_UPDATEALLOCPROPERTY structure (d3dukmdt.h)

The D3DDDI_UPDATEALLOCPROPERTY structure is used to update properties of a memory allocation.

Syntax

typedef struct D3DDDI_UPDATEALLOCPROPERTY {
  D3DKMT_HANDLE                    hPagingQueue;
  D3DKMT_HANDLE                    hAllocation;
  UINT                             SupportedSegmentSet;
  D3DDDI_SEGMENTPREFERENCE         PreferredSegment;
  D3DDDI_UPDATEALLOCPROPERTY_FLAGS Flags;
  D3DKMT_ALIGN64 UINT64            PagingFenceValue;
  union {
    struct {
      UINT SetAccessedPhysically : 1;
      UINT SetSupportedSegmentSet : 1;
      UINT SetPreferredSegment : 1;
      UINT SetUnmoveable : 1;
      UINT Reserved : 28;
    };
    UINT PropertyMaskValue;
  };
} D3DDDI_UPDATEALLOCPROPERTY;

Members

hPagingQueue

[in] A Handle to the paging queue used to synchronize paging operations for this call.

hAllocation

[in] A handle to the allocation that will be updated.

SupportedSegmentSet

[in] An index for the new supported segment set. If the current supported segment set is the same, then this will be ignored.

PreferredSegment

[in] An index for the new preferred segment set. If the current preferred segment set is the same, then this will be ignored.

Flags

[in] The flags that will be used to update the allocation.

PagingFenceValue

[out] The paging fence value that will be synchronized with before using the new allocation. Applies to the monitored fence synchronization object associated with hPagingQueue.

SetAccessedPhysically

[in] When set, the driver will update the AccessedPhysically property of the allocation.

[in] Specifies whether the allocation is accessed by its physical address.

SetSupportedSegmentSet

[in] Specifies whether the supported segment is set to a new value.

SetPreferredSegment

[in] Specifies whether the preferred segment is set to a new value.

SetUnmoveable

[in] When set, the driver will update the Unmoveable property of the allocation to indicate that the allocation is unmoveable.

Reserved

This member is reserved and should be set to zero.

PropertyMaskValue

[in] A member in the union that is contained in D3DDDI_UPDATEALLOCPROPERTY that can hold one 32-bit value that identifies how to update an allocation.

Requirements

Requirement Value
Minimum supported client Windows 10
Header d3dukmdt.h (include D3dumddi.h)

See also

D3DDDI_UPDATEALLOCPROPERTY_FLAGS

D3DKMTUpdateAllocationProperty