Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NdrDllGetClassObject function retrieves the class object of the proxy or stub.
Syntax
HRESULT NdrDllGetClassObject(
[in] REFCLSID rclsid,
[in] REFIID riid,
[out] void **ppv,
[in] const ProxyFileInfo **pProxyFileList,
[in] const CLSID *pclsid,
[in] CStdPSFactoryBuffer *pPSFactoryBuffer
);
Parameters
[in] rclsid
Class identifier of the proxy or stub to retrieve.
[in] riid
Interface identifier of the IPSFactoryBuffer interface.
[out] ppv
Address of the output variable that receives the interface pointer requested in riid.
[in] pProxyFileList
Pointer to the ProxyFileInfo structure, which contains information about the proxy and stub.
[in] pclsid
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.
[in] pPSFactoryBuffer
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | rpcproxy.h |
Library | Rpcrt4.lib |
DLL | Rpcrt4.dll |