D3DDDIARG_GETPITCH structure

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

Syntax

typedef struct _D3DDDIARG_GETPITCH {
  HANDLE hCryptoSession;
  HANDLE hResource;
  UINT   SubResourceIndex;
  UINT   Pitch;
} D3DDDIARG_GETPITCH;

Members

hCryptoSession

[in] A handle to the encryption session.

hResource

[in] A handle to the resource.

SubResourceIndex

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

Pitch

[out] 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

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

See Also

GetPitch