D3DDDI_UPDATEALLOCPROPERTY structure (d3dukmdt.h)
The D3DDDI_UPDATEALLOCPROPERTY structure describes the parameters needed to update an 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] A UINT value that specifies whether the allocation is accessed by its physical address.
Setting this member is equivalent to setting the first bit of the 32-bit PropertyMaskValue member (0x00000001).
SetSupportedSegmentSet
[in] A UINT value that specifies whether the supported segment is set to a new value.
Setting this member is equivalent to setting the second bit of the 32-bit PropertyMaskValue member (0x00000010).
SetPreferredSegment
[in] A UINT value that specifies whether the preferred segment is set to a new value.
Setting this member is equivalent to setting the third bit of the 32-bit PropertyMaskValue member (0x00000100).
SetUnmoveable
Reserved
This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 29 bits (0xFFFFFFFE) of the 32-bit PropertyMaskValue member to zeros.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for