_D3DDDI_PATCHLOCATIONLIST structure

The D3DDDI_PATCHLOCATIONLIST structure describes the location of an allocation to patch (that is, assign a physical address to the allocation).

Syntax

typedef struct _D3DDDI_PATCHLOCATIONLIST {
  UINT  AllocationIndex;
  union {
    struct {
      UINT SlotId : 24;
      UINT Reserved : 8;
    };
    UINT Value;
  };
  UINT  DriverId;
  UINT  AllocationOffset;
  UINT  PatchOffset;
  UINT  SplitOffset;
} D3DDDI_PATCHLOCATIONLIST;

Members

AllocationIndex

[in] An index of the element in the allocation list that specifies the allocation that is referenced by the patch location.

DriverId

[in/out] The driver-defined identifier of the allocation specification.

AllocationOffset

[in/out] The starting offset, in bytes, within the allocation that is referenced.

PatchOffset

[in/out] The offset, in bytes, into the DMA buffer that must be patched.

SplitOffset

[in/out] The offset, in bytes, where the DMA buffer must be split if the allocation cannot be brought into video memory.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems. Available in Windows Vista and later versions of the Windows operating systems.
Header d3dukmdt.h (include D3dumddi.h, D3dkmddi.h)

See Also

CreateDevice

D3DDDIARG_CREATEDEVICE

D3DDDICB_RENDER

D3DDDI_ALLOCATIONLIST

pfnRenderCb