IPSFactoryBuffer::CreateProxy method
Creates a proxy for the specified remote interface.
Syntax
HRESULT CreateProxy( [in] IUnknown *pUnkOuter, [in] REFIID riid, [out] IRpcProxyBuffer **ppProxy, [out] void **ppv );
Parameters
- pUnkOuter [in]
-
A controlling IUnknown interface; used for aggregation.
- riid [in]
-
The identifier of the interface to proxy.
- ppProxy [out]
-
A pointer to an IRpcProxyBuffer interface to control marshaling.
- ppv [out]
-
A pointer to the interface specified by riid.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Remarks
The IUnknown implementation of the IRpcProxyBuffer interface must not delegate to the outer controlling IUnknown.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IPSFactoryBuffer is defined as D5F569D0-593B-101A-B569-08002B2DBF7A |
See also