Initialize function

Performs WMI initialization.

Note

This API is for internal use only. It's not intended for use from developer code.

Syntax

HRESULT Initialize(
   [in] boolean bAllowIManagementObjectQI
);

Parameters

bAllowIManagementObjectQI

[in] true to indicate that calls to QueryInterface on WMI objects are allowed; false otherwise.

Return value

The function always returns S_OK (0).

Requirements

Platforms: See System Requirements.

Header: WMINet_Utils.def

.NET Framework Versions: Available since 4.7.2

See also