mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Use the right variable (IDEA-229061)
GitOrigin-RevId: 07c0ec1937f9001d83918b659ecc1c9e4a7ac4b4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
22501defbe
commit
a94960b23a
Binary file not shown.
@@ -190,7 +190,7 @@ int main(int argc, char **argv)
|
||||
INT pid = SUCCEEDED(hr) ? vtId.intVal : 0;
|
||||
wcout << "pid:" << pid << "\n";
|
||||
VARIANT vtName = { 0 };
|
||||
hres = pclsObj->Get(L"Name", 0, &vtName, nullptr, nullptr);
|
||||
hr = pclsObj->Get(L"Name", 0, &vtName, nullptr, nullptr);
|
||||
if (SUCCEEDED(hr) && vtName.bstrVal != nullptr)
|
||||
wcout << L"name:" << escapeLineBreaks(vtName.bstrVal) << L"\n";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user