IRpcOptions::Set method (objidlbase.h)
Sets the value of an RPC binding option property.
Syntax
HRESULT Set(
[in] IUnknown *pPrx,
[in] RPCOPT_PROPERTIES dwProperty,
[in] ULONG_PTR dwValue
);
Parameters
[in] pPrx
A pointer to the proxy whose property is being set.
[in] dwProperty
An identifier of the property to be set, which must be COMBND_RPCTIMEOUT.
[in] dwValue
The new value of the property.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Remarks
See IRpcOptions for a table of the possible values of the COMBND_RPCTIMEOUT property.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | objidlbase.h (include ObjIdl.h) |