D3DDDIARG_GETPITCH structure (d3dumddi.h)

The D3DDDIARG_GETPITCH structure describes an encrypted surface for which the GetPitch function retrieves the pitch.

Syntax

typedef struct _D3DDDIARG_GETPITCH {
  [in]  HANDLE hCryptoSession;
  [in]  HANDLE hResource;
  [in]  UINT   SubResourceIndex;
  [out] UINT   Pitch;
} D3DDDIARG_GETPITCH;

Members

[in] hCryptoSession

A handle to the encryption session.

[in] hResource

A handle to the resource.

[in] SubResourceIndex

The zero-based index into the resource, which the hResource handle specifies. This index indicates the encrypted surface.

[out] Pitch

The pitch, in bytes, of the encrypted surface. The user-mode display driver's GetPitch function returns this pitch value to the Direct3D runtime.

Requirements

Requirement Value
Minimum supported client D3DDDIARG_GETPITCH is supported beginning with the Windows 7 operating system.
Header d3dumddi.h (include D3dumddi.h)

See also

GetPitch