EngGetLastError function (winddi.h)
The EngGetLastError function returns the last error code logged by GDI for the calling thread.
Syntax
ENGAPI ULONG EngGetLastError();
Return value
The return value is the last error code set by EngSetLastError.
Remarks
EngGetLastError facilitates communication of GDI and/or driver error conditions to an application.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Universal |
Header | winddi.h (include Winddi.h) |
Library | Win32k.lib |
DLL | Win32k.sys |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for