This search will not find the desired information. The correct search should beEach number corresponds to a specific error condition (to get a list, search www.microsoft.com¬ for "system error codes").
docs.microsoft.com "system error codes"
This search will not find the desired information. The correct search should beEach number corresponds to a specific error condition (to get a list, search www.microsoft.com¬ for "system error codes").
docs.microsoft.com "system error codes"
Code: Select all
FormatMessage(errorCode) {
static countChars := 1024
static sizeBuffer := countChars * (A_IsUnicode ? 2 : 1)
VarSetCapacity(lpBuffer, sizeBuffer, 0)
DllCall("FormatMessage", "UInt", 0x1000, "Ptr", 0, "UInt", errorCode, "UInt", 0, "Ptr", &lpBuffer, "UInt", countChars)
return StrGet(&lpBuffer)
}
Once again, this is problematic when it comes to finding the information on microsoft.com.Ln: If this option is not present, the current user's locale is used to format the string. To use the system's locale instead, specify LSys. To use a specific locale, specify the letter L followed by a hexadecimal or decimal locale identifier (LCID). For information on how to construct an LCID, search www.microsoft.com¬ for the following phrase: Locale Identifiers
Return to “Suggestions on Documentation Improvements”
Users browsing this forum: No registered users and 7 guests