Microsoft DirectX 8.1 (C++)

CBaseBasicVideo::NonDelegatingQueryInterface

The NonDelegatingQueryInterface method returns a specified reference-counted interface.

Syntax

HRESULT NonDelegatingQueryInterface(
  REFIID riid,
  void **ppv
);

Parameters

riid

Reference identifier.

ppv

Address of a pointer to the interface.

Return Value

Returns E_POINTER if ppv is invalid. Returns NOERROR if the query is successful or E_NOINTERFACE if it is not.

Remarks

Returns pointers to the IBasicVideo and IUnknown interfaces by default. Override this method to publish any additional interfaces implemented by the derived class.

See Also