Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IGlobalOptions::Set method (objidl.h)

Sets the specified global property of the COM runtime.

Syntax

HRESULT Set(
 [in] GLOBALOPT_PROPERTIES dwProperty,
 [in] ULONG_PTR dwValue
);

Parameters

[in] dwProperty

The global property of the COM runtime. For a list of properties that can be set with this method, see IGlobalOptions.

[in] dwValue

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

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header objidl.h (include ObjIdl.h)

See also

IGlobalOptions


Feedback

Was this page helpful?

Additional resources