VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Get api call error description

by Miguel Aldatz (1 Submission)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

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

Download Get api call error description

Download Get api call error description (2 KB)

Get api call error description Comments

No comments have been posted about Get api call error description. Why not be the first to post a comment about Get api call error description.

Post your comment

Subject:
Message:
0/1000 characters