Skip to content

Commit

Permalink
Merge TrinityCore 3.3.5 to ElunaTrinityWotlk [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Rochet2 committed Nov 20, 2023
2 parents 38b9cb5 + 8b73bb5 commit fddf58b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/common/Debugging/WheatyExceptionReport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,14 +459,14 @@ BOOL WheatyExceptionReport::_GetWindowsVersionFromWMI(TCHAR* szVersion, DWORD cn
{
IWbemServices* tmp = nullptr;
HRESULT hres = loc->ConnectServer(
bstr_t(L"ROOT\\CIMV2"), // Object path of WMI namespace
nullptr, // User name. NULL = current user
nullptr, // User password. NULL = current
nullptr, // Locale. NULL indicates current
0, // Security flags.
nullptr, // Authority (for example, Kerberos)
nullptr, // Context object
&tmp // pointer to IWbemServices proxy
bstr_t(L"ROOT\\CIMV2"), // Object path of WMI namespace
nullptr, // User name. NULL = current user
nullptr, // User password. NULL = current
nullptr, // Locale. NULL indicates current
WBEM_FLAG_CONNECT_USE_MAX_WAIT, // Security flags.
nullptr, // Authority (for example, Kerberos)
nullptr, // Context object
&tmp // pointer to IWbemServices proxy
);

if (FAILED(hres))
Expand Down

0 comments on commit fddf58b

Please sign in to comment.