Share via


CBasePin::QueryDirection

 
Microsoft DirectShow 9.0

CBasePin::QueryDirection

The QueryDirection method retrieves the direction of the pin (input or output). This method implements the IPin::QueryDirection method.

Syntax

  HRESULT QueryDirection(
    PIN_DIRECTION *pPinDir
);

Parameters

pPinDir

Pointer to a variable that receives a member of the PIN_DIRECTION enumerated type.

Return Value

Returns S_OK or E_POINTER.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also