// d3dumddi.h
typedef struct _D3DDDIARG_GETPITCH {
[in] HANDLE hCryptoSession;
[in] HANDLE hResource;
[in] UINT SubResourceIndex;
[out] UINT Pitch;
} D3DDDIARG_GETPITCH;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDIARG_GETPITCH structure describes an encrypted surface for which the GetPitch function retrieves the pitch.
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.