CStdStubBuffer2_QueryInterface function

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

Implements the IRpcStubBuffer::QueryInterface method.

Syntax

HRESULT CStdStubBuffer2_QueryInterface(
  IRpcStubBuffer *This,
  REFIID         riid,
  void           **ppvObject
);

Parameters

This

Pointer to the IRpcStubBuffer object.

riid

IID of the interface to be queried.

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

   
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