IRpcOptions::Set method
Sets the value of an RPC binding option property.
Syntax
HRESULT Set( [in] IUnknown *pPrx, [in] DWORD dwProperty, [in] ULONG_PTR dwValue );
Parameters
- pPrx [in]
-
A pointer to the proxy whose property is being set.
- dwProperty [in]
-
An identifier of the property to be set, which must be COMBND_RPCTIMEOUT.
- dwValue [in]
-
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
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IRpcOptions is defined as 00000144-0000-0000-C000-000000000046 |
See also
Show: