![]()
[ Keywords | Classes | Data | Functions ]
Back to the top of WhoSLocking
Back to the top of WhoSLocking
Back to the top of WhoSLocking
![]()
LPTSTR WindowsGetErrorText(DWORD dwErrorCode, LPTSTR lpszBuf, DWORD dwSize);
#include "WindowsErrorText.h"
Purpose: return the text for a given Windows Error Code
Parameters:
Description : This function is a wrapper for many error-handling functions from WIN32. It searches for error text in the following locations:
In the Operating System, using function FormatMessage (...FORMAT_MESSAGE_FROM_SYSTEM...)
| In specific modules, using function FormatMessage (...FORMAT_MESSAGE_FROM_HMODULE...):
|
In Extended Internet Errors, using function InternetGetLastResponseInfo()
| |
If no error text is found, this function still builds an error message with the format "Error Code 0x%X (%d)" (the error code is shown is hexadecimal and in decimal).
LPTSTR WindowsGetErrorText(DWORD dwErrorCode, LPTSTR lpszBuf, DWORD dwSize);
Back to the top of WhoSLocking
![]()
Report problems to jkotula@stratasys.com