Export (0) Print
Expand All

IUnknown_QueryInterface_Proxy function

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

Syntax


HRESULT STDMETHODCALLTYPE IUnknown_AddRef_Proxy(
  _In_   IUnknown __RPC_FAR *This,
  _In_   REFIID riid,
  _Out_  void **ppvObject
);

Parameters

This [in]

Pointer to the proxy object.

riid [in]

IID of the interface to be queried.

ppvObject [out]

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

Return value

Returns S_OK on success.

Remarks

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Unknwn.h

Library

RpcRT4.lib

DLL

RpcRT4.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft