IGlobalOptions::Set method
Sets the specified global property of the COM runtime.
Syntax
HRESULT Set( [in] DWORD dwProperty, [in] ULONG_PTR dwValue );
Parameters
- dwProperty [in]
-
The global property of the COM runtime. For a list of properties that can be set with this method, see IGlobalOptions.
- dwValue [in]
-
The value of the property.
Important For the COMGLB_APPID property, this parameter must specify a pointer to the APPID GUID.
Return value
The return value is S_OK if the property was set successfully.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IGlobalOptions is defined as 0000015B-0000-0000-C000-000000000046 |
See also