SURFACEALIGNMENT structure

The SURFACEALIGNMENT structure is used by a display driver to describe the alignment restrictions for a surface being allocated by HeapVidMemAllocAligned.

Syntax

typedef struct _SURFACEALIGNMENT {
  union {
    struct {
      DWORD dwStartAlignment;
      DWORD dwPitchAlignment;
      DWORD dwFlags;
      DWORD dwReserved2;
    } Linear;
    struct {
      DWORD dwXAlignment;
      DWORD dwYAlignment;
      DWORD dwFlags;
      DWORD dwReserved2;
    } Rectangular;
  };
} SURFACEALIGNMENT, *LPSURFACEALIGNMENT;

Members

__unnamed_union_0191_1

__unnamed_union_0191_1.Linear

__unnamed_union_0191_1.Linear.dwStartAlignment

__unnamed_union_0191_1.Linear.dwPitchAlignment

__unnamed_union_0191_1.Linear.dwFlags

__unnamed_union_0191_1.Linear.dwReserved2

__unnamed_union_0191_1.Rectangular

__unnamed_union_0191_1.Rectangular.dwXAlignment

__unnamed_union_0191_1.Rectangular.dwYAlignment

__unnamed_union_0191_1.Rectangular.dwFlags

__unnamed_union_0191_1.Rectangular.dwReserved2

Requirements

   
Header dmemmgr.h (include Winddi.h)

See Also

HeapVidMemAllocAligned