IPin::QueryDirection method (strmif.h)
The QueryDirection method gets the direction of the pin (input or output).
Syntax
HRESULT QueryDirection(
[out] PIN_DIRECTION *pPinDir
);
Parameters
[out] pPinDir
Receives a member of the PIN_DIRECTION enumerated type.
Return value
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
|
Success. |
|
NULL pointer argument. |
Requirements
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | strmif.h (include Dshow.h) |
Library | Strmiids.lib |