Query Method
Collapse the table of content
Expand the table of content

IGlobalOptions::Query method

Queries the specified global property of the COM runtime.

Syntax


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

Parameters

dwProperty [in]

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

pdwValue [out]

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

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IGlobalOptions is defined as 0000015B-0000-0000-C000-000000000046

See also

IGlobalOptions

 

 

Show:
© 2016 Microsoft