DXGKETW_DISCARDCONTENTFLAGS structure

Used in the DXGKETW_PAGINGOPERATION.DiscardContent.Flags member to identify the type of discard-content operation to set up.

Syntax

typedef struct _DXGKETW_DISCARDCONTENTFLAGS {
  union {
    struct {
      ULONG AllocationIsIdle  :1;
      ULONG Reserved  :31;
    };
    ULONG  Value;
  };
} DXGKETW_DISCARDCONTENTFLAGS;

Members

  • AllocationIsIdle
    [in] Indicates whether the allocation that is referenced in the DXGKETW_PAGINGOPERATION.DiscardContent.Flags member is idle. If this member is not set, the display miniport driver determines that the allocation is either currently busy or might become busy. If this member is set, the video memory manager guarantees that the allocation remains idle for the duration of the discard-content operation.

    Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).

  • Reserved
    [in] Reserved for system use and should be set to zero.

    Setting this member to zero is equivalent to setting the remaining 31 bits (0xFFFFFFFE) of the 32-bit Value member to zeros.

  • Value
    [in] A member in the union that DXGKETW_DISCARDCONTENTFLAGS contains that can hold a 32-bit value that identifies the discard-content-operation type.

Remarks

The display miniport driver specifies these flags for the video memory manager, through the DXGK_DISCARDCONTENTFLAGS structure, in response to a call to the DxgkDdiBuildPagingBuffer function.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Header

Dxetwevt.h (include Dxetwevt.h)

See also

DXGK_DISCARDCONTENTFLAGS

DxgkDdiBuildPagingBuffer

DXGKETW_PAGINGOPERATION

 

 

Send comments about this topic to Microsoft

Build date: 7/11/2012