Err.LastDLLError Property — Microsoft.VisualBasic.ErrObject
Err.LastDLLError
A read-only property containing a system error code representing a system error produced within a DLL called from a VB program.