(
vm: &VirtualMachine,
code: i32,
)
| 38 | } |
| 39 | |
| 40 | fn os_error_from_windows_code( |
| 41 | vm: &VirtualMachine, |
| 42 | code: i32, |
| 43 | ) -> crate::PyRef<crate::builtins::PyBaseException> { |
| 44 | use crate::convert::ToPyException; |
| 45 | std::io::Error::from_raw_os_error(code).to_pyexception(vm) |
| 46 | } |
| 47 | |
| 48 | /// Wrapper type for HKEY that can be created from PyHkey or int |
| 49 | struct HKEYArg(Registry::HKEY); |
no test coverage detected