D3DDDI_SURFACEINFO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dukmdt.h

typedef struct _D3DDDI_SURFACEINFO {
  [in] UINT       Width;
  [in] UINT       Height;
  [in] UINT       Depth;
  [in] const VOID *pSysMem;
  [in] UINT       SysMemPitch;
  [in] UINT       SysMemSlicePitch;
} D3DDDI_SURFACEINFO;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dukmdt-_d3dddi_surfaceinfo)

_D3DDDI_SURFACEINFO structure

Description

The D3DDDI_SURFACEINFO structure describes a resource type, such as a surface.

Members

Width [in]

The width, in pixels, of the surface or volume or the length, in pixels, of the linear resource.

Height [in]

The height, in pixels, of the surface or volume.

Depth [in]

The depth, in pixels, of the volume.

pSysMem [in]

A pointer to a buffer that contains the contents of the resource if the resource exists in system memory and NULL if the resource exists in video memory.

Note that this member is valid only if the Pool member of the D3DDDIARG_CREATERESOURCE structure for creating the resource is set to the D3DDDIPOOL_SYSTEMMEM value.

SysMemPitch [in]

The pitch, in bytes, of the surface--that is, the distance, in bytes, to the start of the next line.

SysMemSlicePitch [in]

The slice, in bytes, of the volume.

See also

CreateResource

D3DDDIARG_CREATERESOURCE