IAMVideoTransformComponent::GetScalingModeCaps (Compact 7)
3/12/2014
This method returns the scaling mode capabilities of the stream.
Syntax
HRESULT GetScalingMode (
const AM_MEDIA_TYPE *pmt,
DWORD * pdwScalingModeCapsMask
);
Parameters
- pScalingMode
[in] A pointer to an AM_MEDIA_TYPE enumeration value specifying the media type.
- pdwScalingModeCapsMask
[out] A pointer to the scaling capabilities. This can be a combination of the AM_TRANSFORM_SCALING_MODE enumeration values.
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 |