IAMVideoTransformComponent::GetBufferParams (Compact 7)
3/12/2014
This method returns the parameters of the buffer.
Syntax
HRESULT GetBufferParams (
AM_ROTATION_ANGLE *pSurfaceAngle,
int *pXPitch,
int *pYPitch,
);
Parameters
- pSurfaceAngle
[out] A pointer to an AM_ROTATION_ANGLE enumeration member specifying the rotation angle at which the surface was allocated.
- pXPitch
[out] A pointer to the horizontal pitch.
- pYPitch
[out] A pointer to the horizontal pitch.
Return Value
Returns an HRESULT value that depends on the implementation of the interface. Current DirectShow implementation return values include the following.
Value | Description |
---|---|
E_FAIL |
Failure to return the capabilities. |
S_OK |
The capabilities were returned. |
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |