Export (0) Print
Expand All

NdrDllGetClassObject function

The NdrDllGetClassObject function retrieves the class object of the proxy or stub.

Syntax


RPCRTAPI HRESULT RPC_ENTRY NdrDllGetClassObject(
  _In_   REFCLSID rclsid,
  _In_   REFIID riid,
  _Out_  void **ppv,
  _In_   const ProxyFileInfo **pProxyFileList,
  _In_   const CLSID *pclsid,
  _In_   CStdPSFactoryBuffer *pPSFactoryBuffer
);

Parameters

rclsid [in]

Class identifier of the proxy or stub to retrieve.

riid [in]

Interface identifier of the IPSFactoryBuffer interface.

ppv [out]

Address of the output variable that receives the interface pointer requested in riid.

pProxyFileList [in]

Pointer to the ProxyFileInfo structure, which contains information about the proxy and stub.

pclsid [in]

Pointer to the class identifier of the proxy or stub. Specify pclsid if the PROXY_CLSID constant is defined in the source code or as a C compiler option.

pPSFactoryBuffer [in]

Pointer to the IPSFactoryBuffer object. The pointer is contained in the global variable, gPFactory, defined in RpcProxy.h.

Return value

Returns S_OK on success.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Rpcproxy.h

Library

RpcRT4.lib

DLL

RpcRT4.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft