D3DDDICB_LOCK2FLAGS structure

D3DDDICB_LOCK2FLAGS is used by the Lock2 kernel function to determine how an allocation is locked.

Unlike Lock, which supported numerous flags, Lock2 has none. The Lock2 arguments allow flags to be specified using this structure, but currently it only has a reserved field to allow for capabilities to added in the future.

Syntax

typedef struct _D3DDDICB_LOCK2FLAGS {
  union {
    struct {
      UINT Reserved : 32;
    };
    UINT Value;
  };
} D3DDDICB_LOCK2FLAGS;

Members

Reserved

This member is reserved and must be zero.

Value

This member must be zero.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dukmdt.h (include D3dumddi.h, D3dkmddi.h)

See Also

Lock

Lock2