diff include/animone/util/win32.h @ 5:6d6d2b51517b

chore: merge
author Paper <paper@paper.us.eu.org>
date Fri, 12 Apr 2024 05:23:45 -0400
parents aa55bcfb5b79
children 27b988a1048c
line wrap: on
line diff
--- a/include/animone/util/win32.h	Fri Apr 12 05:21:45 2024 -0400
+++ b/include/animone/util/win32.h	Fri Apr 12 05:23:45 2024 -0400
@@ -1,8 +1,9 @@
 #ifndef ANIMONE_ANIMONE_UTIL_WIN32_H_
 #define ANIMONE_ANIMONE_UTIL_WIN32_H_
 
+#include <windef.h>
 #include <subauth.h>
-#include <windows.h>
+#include <handleapi.h>
 
 #include <memory>
 #include <string>
@@ -22,6 +23,7 @@
 std::string ToUtf8String(const UNICODE_STRING& string);
 std::wstring ToWstring(const std::string& string);
 
+std::wstring GetProcessPath(DWORD process_id);
 std::wstring GetFileNameFromPath(const std::wstring& path);
 std::wstring GetFileNameWithoutExtension(const std::wstring& filename);