function ibec_GetLastError : Integer;
The ibec_GetLastError function returns the value of the last failed Windows API call.