diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-10 16:23:47 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-10 16:23:47 +0200 |
commit | 9ca1e7d79a6d461a8f18407f7a3104bb91cf3cf6 (patch) | |
tree | 46fcfd387b520e775c3ac5ac7399f36c2b7d471f /src/libs/utils/winutils.cpp | |
parent | 9685a0a4ded362c1e3b0ed2b3278856c6afc7d82 (diff) | |
download | qt-creator-9ca1e7d79a6d461a8f18407f7a3104bb91cf3cf6.tar.gz |
Debugger: Move some windows functionality around.
Diffstat (limited to 'src/libs/utils/winutils.cpp')
-rw-r--r-- | src/libs/utils/winutils.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libs/utils/winutils.cpp b/src/libs/utils/winutils.cpp index afc003bb34..6b25890c6d 100644 --- a/src/libs/utils/winutils.cpp +++ b/src/libs/utils/winutils.cpp @@ -155,4 +155,10 @@ QTCREATOR_UTILS_EXPORT QString getShortPathName(const QString &name, QString *er return rc; } +unsigned long winQPidToPid(const Q_PID qpid) +{ + const PROCESS_INFORMATION *processInfo = reinterpret_cast<const PROCESS_INFORMATION*>(qpid); + return processInfo->dwProcessId; +} + } // namespace Utils |