Function winsafe::GetLastError

source ·
pub fn GetLastError() -> ERROR
Available on crate feature kernel only.
Expand description

GetLastError function.

This function is automatically called every time a SysResult evaluates to Err, so it’s unlikely that you ever need to call it.