EngGetLastError function

The EngGetLastError function returns the last error code logged by GDI for the calling thread.

Syntax


ULONG EngGetLastError(void);

Parameters

This function has no parameters.

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

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

EngSetLastError

 

 

Send comments about this topic to Microsoft

Show: