54a78bb49e71dd7217d1489f7f3dd1c10a4b60e0
8 * http://msdn.microsoft.com/en-us/library/ff564940%28VS.85%29.aspx
14 PTEB pTeb
= NtCurrentTeb();
16 return NtCurrentTeb()->LastErrorValue
;
23 * http://msdn.microsoft.com/en-us/library/ff565015%28VS.85%29.aspx
27 EngSetLastError(IN ULONG iError
)
29 PTEB pTeb
= NtCurrentTeb();
31 pTeb
->LastErrorValue
= iError
;