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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for