Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <git@davidebeatrici.dev>2020-11-02 11:15:50 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2020-11-02 11:15:50 +0300
commitd7f0302ce721c28ab9b4928ac5e65c0670f9d266 (patch)
tree32534f6da4ee1e263e08a40b65750d00b1b95c57 /plugins/HostWindows.h
parenta3086acade84abfe8f05afab8350897134e3508d (diff)
REFAC(plugins): Use Toolhelp32ReadProcessMemory() instead of ReadProcessMemory()
Toolhelp32ReadProcessMemory() takes the process ID, as opposed to ReadProcessMemory(). This allows us to read memory without the need for an handle (OpenProcess()).
Diffstat (limited to 'plugins/HostWindows.h')
-rw-r--r--plugins/HostWindows.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/HostWindows.h b/plugins/HostWindows.h
index a8253669e..5c8b88852 100644
--- a/plugins/HostWindows.h
+++ b/plugins/HostWindows.h
@@ -17,7 +17,6 @@ class HostWindows {
protected:
bool m_ok;
procid_t m_pid;
- void *m_handle;
public:
inline bool isOk() const { return m_ok; }