comparison dep/animia/src/win32.cpp @ 84:eab9e623eb84

dep/animia: update from upstream
author Paper <mrpapersonic@gmail.com>
date Wed, 25 Oct 2023 14:53:05 -0400
parents 4c6dd5999b39
children
comparison
equal deleted inserted replaced
83:d02fdf1d6708 84:eab9e623eb84
46 ULONG_PTR NumberOfHandles; 46 ULONG_PTR NumberOfHandles;
47 ULONG_PTR Reserved; 47 ULONG_PTR Reserved;
48 SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX Handles[1]; 48 SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX Handles[1];
49 }; 49 };
50 50
51 namespace Animia::Windows { 51 namespace Animia { namespace Windows {
52 52
53 /* All of this BS is required on Windows. Why? */ 53 /* All of this BS is required on Windows. Why? */
54 54
55 HANDLE DuplicateHandle(HANDLE process_handle, HANDLE handle) { 55 HANDLE DuplicateHandle(HANDLE process_handle, HANDLE handle) {
56 HANDLE dup_handle = nullptr; 56 HANDLE dup_handle = nullptr;
308 map[pid].push_back(path); 308 map[pid].push_back(path);
309 } 309 }
310 return map; 310 return map;
311 } 311 }
312 312
313 } // namespace Animia::Windows 313 } // namespace Windows
314 } // namespace Animia