| ... | ... | @@ -1750,7 +1750,7 @@ pub const WindowsModuleInfo = struct { |
| 1750 | 1750 | section_view: []const u8, |
| 1751 | 1751 | |
| 1752 | 1752 | pub fn deinit(self: @This()) void { |
| 1753 | | const process_handle = windows.kernel32.GetCurrentProcess(); |
| 1753 | const process_handle = windows.GetCurrentProcess(); |
| 1754 | 1754 | assert(windows.ntdll.NtUnmapViewOfSection(process_handle, @constCast(@ptrCast(self.section_view.ptr))) == .SUCCESS); |
| 1755 | 1755 | windows.CloseHandle(self.section_handle); |
| 1756 | 1756 | self.file.close(); |
| ... | ... | @@ -1980,7 +1980,7 @@ pub const DebugInfo = struct { |
| 1980 | 1980 | // openFileAbsoluteW requires the prefix to be present |
| 1981 | 1981 | @memcpy(name_buffer[0..4], &[_]u16{ '\\', '?', '?', '\\' }); |
| 1982 | 1982 | |
| 1983 | | const process_handle = windows.kernel32.GetCurrentProcess(); |
| 1983 | const process_handle = windows.GetCurrentProcess(); |
| 1984 | 1984 | const len = windows.kernel32.GetModuleFileNameExW( |
| 1985 | 1985 | process_handle, |
| 1986 | 1986 | module.handle, |