lastErrorCode

Contains the last error code returned during driver or device initialization.

version(Windows)
static
HRESULT lastErrorCode;

Meta