Home
last modified time | relevance | path

Searched refs:with_get_last_error (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/libloading/src/os/windows/
Dmod.rs120 with_get_last_error(|source| crate::Error::GetModuleHandleExW { source }, || { in this()
153 with_get_last_error(|source| crate::Error::GetModuleHandleExW { source }, || { in open_already_loaded()
193 let ret = with_get_last_error(|source| crate::Error::LoadLibraryExW { source }, || { in load_with_flags()
224 with_get_last_error(|source| crate::Error::GetProcAddress { source }, || { in get()
245 with_get_last_error(|source| crate::Error::GetProcAddress { source }, || { in get_ordinal()
284 let result = with_get_last_error(|source| crate::Error::FreeLibrary { source }, || { in close()
413 fn with_get_last_error<T, F>(wrap: fn(crate::error::WindowsError) -> crate::Error, closure: F) in with_get_last_error() function