Bewerken

Delen via


DXGKARG_VALIDATEUPDATEALLOCPROPERTY structure (d3dkmddi.h)

The DXGKARG_VALIDATEUPDATEALLOCPROPERTY structure holds the information needed to validate the parameters to update the properties of an allocation.

Syntax

typedef struct _DXGKARG_VALIDATEUPDATEALLOCPROPERTY {
  [in] HANDLE                           hAllocation;
  [in] UINT                             SupportedSegmentSet;
  [in] D3DDDI_SEGMENTPREFERENCE         PreferredSegment;
  [in] D3DDDI_UPDATEALLOCPROPERTY_FLAGS Flags;
  union {
    struct {
      UINT SetAccessedPhysically : 1;
      UINT SetSupportedSegmentSet : 1;
      UINT SetPreferredSegment : 1;
      UINT Reserved : 29;
    };
         UINT PropertyMaskValue;
  };
} DXGKARG_VALIDATEUPDATEALLOCPROPERTY;

Members

[in] hAllocation

A handle to the allocation that will be updated.

[in] SupportedSegmentSet

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

[in] PreferredSegment

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

[in] Flags

A D3DDDI_UPDATEALLOCPROPERTY_FLAGS structure with flags that specify how to update the allocation's properties.

SetAccessedPhysically

A UINT value that specifies whether the allocation is accessed by its physical address.

SetSupportedSegmentSet

A UINT value that specifies whether the supported segment is set to a new value.

SetPreferredSegment

A UINT value that specifies whether the preferred segment is set to a new value.

Reserved

This member is reserved and should be set to zero.

PropertyMaskValue

An alternative way to access the property mask values.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 (WDDM 2.1)
Header d3dkmddi.h

See also

DXGKDDI_VALIDATEUPDATEALLOCATIONPROPERTY