Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IUnknown_QueryInterface_Proxy function

[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 STDMETHODCALLTYPE IUnknown_QueryInterface_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

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Unknwn.h

Library

RpcRT4.lib

DLL

RpcRT4.dll

 

 

Show:
© 2017 Microsoft