VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get api call error description

Miguel Aldatz  (1 Submission)   Windows API Call/Explanation   Visual Basic 3.0   Advanced   Wed 3rd February 2021

when call Api funtion, this call return a long value, this value indicate the error code of the function. This code get description for this code error, in the windows standart error descriptions.

API Declarations
Private Declare Function FormatMessage Lib "kernel32" Alias "FormatMessageA" (ByVal dwFlags As Long, ByVal lpSource As Long, ByVal dwMessageId As Long, ByVal dwLanguageId As Long, ByVal lpBuffer As String, ByVal nSize As Long, Arguments As Any) As Long
Private Declare Function LoadLibraryEx Lib "kernel32" Alias "LoadLibraryExA" (ByVal lpLibFileName As String, ByVal hFile As Long, ByVal dwFlags As Long) As Long
Private Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long

Rate Get api call error description (3(3 Vote))

Download Get api call error description

Get api call error description Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters