 |
GetLastError Add comment W32 Constants Translate this page |
 |
 |
|
The GetLastError function retrieves the calling thread"s last-error code value. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD GetLastError(VOID);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetLastError IN kernel32
|
 |
 |
 |
| Parameters: |
 |
| This function has no parameters |
 |
 |
| Return value: |
 |
| The return value is the calling thread"s last-error code value |
 |
 |
| My comment: |
 |
To obtain an error string for system error codes, use the FormatMessage function.
The following MS link provides the list of existing error codes: Win32 Error Codes |
 |
 |
| Word Index links for the GetLastError : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-21 12:00:00 | | Modified: | 2001-11-26 16:02:36 | Visited in last 7 days: 477 |