C++ (Qt)typedef HRESULT (__stdcall *PSCPEAUMID)(PCWSTR); PSCPEAUMID pSCPEAUMID = (PSCPEAUMID)GetProcAddress(GetModuleHandle(L"shell32.dll"), "SetCurrentProcessExplicitAppUserModelID");if (pSCPEAUMID){ HRESULT hr; if (SUCCEEDED((hr = pSCPEAUMID(L"myId")))) qDebug("SetCurrentProcessExplicitAppUserModelID success"); else qDebug("SetCurrentProcessExplicitAppUserModelID error: %d", HRESULT_CODE(hr));}