CStdAsyncStubBuffer_QueryInterface function (rpcproxy.h)

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

Implements the IRpcStubBuffer::QueryInterface method.

Syntax

HRESULT CStdAsyncStubBuffer_QueryInterface(
  [in]  IRpcStubBuffer *pthis,
  [in]  REFIID         riid,
  [out] void           **ppvObject
);

Parameters

[in] pthis

Pointer to the IRpcStubBuffer 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 10 [desktop apps | UWP apps]
Minimum supported server Windows Server 2016 [desktop apps | UWP apps]
Target Platform Windows
Header rpcproxy.h
Library Ole32.lib
DLL Ole32.dll