by Shawn Bullock (2 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (7 Votes)
Queries Windows for the meaning of an API error number, and allows you to search a range of numbers... the results get placed in a list
Assumes
The only place this is useful is for grabbing the definition of those cryptic API error number. The other route is to look them up on MSDN... this is easier.
Side Effects
While it will return most API error messages, there are some (such as error 34) which won't... for somereason, FormatMessage API returns an exception, so there is code in VB to trap Exceptions but as a side effect, the error codes which return the exception are not displayed