The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IDirect3DCryptoSession9::GetSurfacePitch method
Gets the stride of a protected surface.
Syntax
HRESULT GetSurfacePitch( IDirect3DSurface9 *pSrcSurface, UINT *pSurfacePitch );
Parameters
- pSrcSurface
-
Pointer to the protected surface.
- pSurfacePitch
-
Receives the stride, in bytes.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
A protected surface cannot be locked, so this method provides a way to get the surface stride without locking the surface.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
See also
Show: