IContext::SetProperty method
Adds the specified context property to the object context.
Syntax
HRESULT SetProperty( [in] REFGUID rpolicyId, [in] CPFLAGS flags, [in] IUnknown *pUnk );
Parameters
- rpolicyId [in]
-
A GUID that uniquely identifies this context property.
- flags [in]
-
This parameter is reserved and must be zero.
- pUnk [in]
-
A pointer to the context property to be added.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IContext is defined as 000001c0-0000-0000-C000-000000000046 |
See also