Export (0) Print
Expand All

CBasePin.QueryDirection method

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

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBasePin Class

 

 

Community Additions

ADD
Show:
© 2015 Microsoft