EngGetLastError

ULONG EngGetLastError(VOID)

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

Return Value

The return value is the last error code set by EngSetLastError.

Comments

EngGetLastError facilitates communication of GDI and/or driver error conditions to an application.

See Also

EngSetLastError