共用方式為


IAMVideoControl::GetCaps

 
Microsoft DirectShow 9.0

IAMVideoControl::GetCaps

The GetCaps method retrieves the capabilities of the underlying hardware.

Syntax

  HRESULT GetCaps (
  IPin *pPin,
  long *pCapsFlags
);

Parameters

pPin

[in] Pointer to the pin to query capabilities from.

pCapsFlags

[out] Pointer to a value representing a combination of the flags from the VideoControlFlags enumeration.

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

Possible capabilities include one or more of the following: flipping the picture horizontally, flipping the picture vertically, enabling external triggers, and simulating external triggers.

Requirements

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

Library: Use Strmiids.lib.

See Also