共用方式為


IAMVideoDecimationProperties::QueryDecimationUsage

 
Microsoft DirectShow 9.0

IAMVideoDecimationProperties::QueryDecimationUsage

The QueryDecimationUsage method retrieves the current decimation strategy.

Syntax

  HRESULT QueryDecimationUsage(
  DECIMATION_USAGE *lpUsage
);

Parameters

lpUsage

[out] Pointer to a variable of type DECIMATION_USAGE that receives the decimation setting.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. The DirectShow implementation returns S_OK if successful, or E_FAIL or another error code otherwise.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also