Поделиться через


IPin::QueryDirection

 
Microsoft DirectShow 9.0

IPin::QueryDirection

The QueryDirection method retrieves the direction of the pin (input or output).

Syntax

  HRESULT QueryDirection(
  PIN_DIRECTION *pPinDir
);

Parameters

pPinDir

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

Return Value

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_POINTER Null pointer argument.

Requirements

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

Library: Use Strmiids.lib.

See Also