IUnknown_QueryInterface_Proxy function (unknwnbase.h)

[IUnknown_QueryInterface_Proxy is not supported and may be altered or unavailable in the future.]

The IUnknown_QueryInterface_Proxy function implements the QueryInterface method for all interface proxies.

Syntax

HRESULT IUnknown_QueryInterface_Proxy(
  [in]  IUnknown *This,
  [in]  REFIID   riid,
  [out] void     **ppvObject
);

Parameters

[in] This

Pointer to the proxy object.

[in] riid

IID of the interface to be queried.

[out] ppvObject

Address to a pointer whose interface is queried or null when an interface is not supported.

Return value

Returns S_OK on success.

Remarks

This function is used internally by proxies that are generated by MIDL.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header unknwnbase.h (include Unknwn.h)
Library Rpcrt4.lib
DLL Rpcrt4.dll