GetInterface (DirectShow) (Windows Embedded CE 6.0)

1/6/2010

This function retrieves an interface pointer.

Syntax

HRESULT GetInterface(
  LPUNKNOWN pUnk,
  void** ppv
);

Parameters

  • pUnk
    Pointer to the IUnknown interface.
  • ppv
    Retrieved interface.

Return Value

Returns an HRESULT value.

Remarks

This member function performs a thread-safe increment of the reference count.

To retrieve the interface and add a reference, call this function from your overriding implementation of the CNonDelegatingUnknown::NonDelegatingQueryInterface method.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

Object and Pin Functions