IGlobalOptions::Query method (objidl.h)

Queries the specified global property of the COM runtime.

Syntax

HRESULT Query(
  [in]  GLOBALOPT_PROPERTIES dwProperty,
  [out] ULONG_PTR            *pdwValue
);

Parameters

[in] dwProperty

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

[out] pdwValue

The value of the property.

Important  For the COMGLB_APPID property, this parameter receives a pointer to the AppID GUID.

 

Return value

The return value is S_OK if the property is queried 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