Skip to main content

get_last_error

Function get_last_error 

Source
pub fn get_last_error() -> u32
Expand description

Read TEB.LastErrorValue (gs:[0x68] x64 / fs:[0x34] x86).

Source: Geoff Chappell TEB layout, LastErrorValue at 0x68 (x64) / 0x34 (x86).