diff include/animone/util/win32.h @ 3:aa55bcfb5b79

win32: make builds work again
author Paper <paper@paper.us.eu.org>
date Thu, 11 Apr 2024 23:39:18 -0400
parents a76fa32bdc92
children 27b988a1048c
line wrap: on
line diff
--- a/include/animone/util/win32.h	Thu Apr 11 22:05:41 2024 -0400
+++ b/include/animone/util/win32.h	Thu Apr 11 23:39:18 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);