Microsoft DirectX 8.1 (C++)

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.