aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/process.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/winapi/process.hpp')
-rw-r--r--include/winapi/process.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/winapi/process.hpp b/include/winapi/process.hpp
index f404b33..469653c 100644
--- a/include/winapi/process.hpp
+++ b/include/winapi/process.hpp
@@ -7,10 +7,14 @@
#include "cmd_line.hpp"
#include "handle.hpp"
+#include "resource.hpp"
#include "stream.hpp"
#include <boost/config.hpp>
+#include <windows.h>
+
+#include <string>
#include <utility>
namespace winapi {
@@ -52,9 +56,14 @@ public:
int get_exit_code() const;
+ static Resource get_resource(unsigned int id);
+ static std::string get_resource_string(unsigned int id);
+
private:
explicit Process(Handle&& handle) : m_handle{std::move(handle)} {}
+ static HMODULE get_exe_module();
+
Handle m_handle;
};