https://learn.microsoft.com/en-us/windows/win32/api/wbemcli/nf-wbemcli-iwbemlocator-connectserver
IWbemLocator::ConnectServer (wbemcli.h) - Win32 apps | Microsoft Learn
The IWbemLocator::ConnectServer method creates a connection through DCOM to a WMI namespace on the computer specified in the strNetworkResource parameter.
happsmicrosoftlearn