mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Update QProcessInfo files to 9aecbbe2c45dd259c50b70b52d1386f7592bf0ad
This commit is contained in:
@@ -26,12 +26,12 @@ struct callbackContext
|
||||
callbackContext(QProcessList &l) : list(l) {}
|
||||
QProcessList &list;
|
||||
|
||||
PFN_GETWINDOWTHREADPROCESSID GetWindowThreadProcessId;
|
||||
PFN_GETWINDOW GetWindow;
|
||||
PFN_ISWINDOWVISIBLE IsWindowVisible;
|
||||
PFN_GETWINDOWTEXTLENGTHW GetWindowTextLengthW;
|
||||
PFN_GETWINDOWTEXTW GetWindowTextW;
|
||||
PFN_ENUMWINDOWS EnumWindows;
|
||||
PFN_GETWINDOWTHREADPROCESSID GetWindowThreadProcessId = NULL;
|
||||
PFN_GETWINDOW GetWindow = NULL;
|
||||
PFN_ISWINDOWVISIBLE IsWindowVisible = NULL;
|
||||
PFN_GETWINDOWTEXTLENGTHW GetWindowTextLengthW = NULL;
|
||||
PFN_GETWINDOWTEXTW GetWindowTextW = NULL;
|
||||
PFN_ENUMWINDOWS EnumWindows = NULL;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -345,6 +345,11 @@ QProcessList QProcessInfo::enumerate()
|
||||
|
||||
#endif
|
||||
|
||||
QProcessInfo::QProcessInfo()
|
||||
{
|
||||
m_pid = 0;
|
||||
}
|
||||
|
||||
uint32_t QProcessInfo::pid() const
|
||||
{
|
||||
return m_pid;
|
||||
|
||||
@@ -14,6 +14,8 @@ typedef QList<QProcessInfo> QProcessList;
|
||||
class QProcessInfo
|
||||
{
|
||||
public:
|
||||
QProcessInfo();
|
||||
|
||||
static QProcessList enumerate();
|
||||
|
||||
uint32_t pid() const;
|
||||
|
||||
Reference in New Issue
Block a user