Microsoft DirectX 8.1 (C++)

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.

See Also