Lines Matching defs:errorCode
20 static bool MyFormatMessage(DWORD errorCode, UString &message)
23 if ((HRESULT)errorCode == MY_HRES_ERROR_INTERNAL_ERROR)
38 NULL, errorCode, 0, (LPTSTR) &msgBuf, 0, NULL) == 0)
47 NULL, errorCode, 0, (LPWSTR) &msgBuf, 0, NULL) == 0)
60 switch ((Int32)errorCode)
84 if ((errorCode & 0xFFFF0000) == (UInt32)((MY_FACILITY_WRes << 16) | 0x80000000))
85 errorCode &= 0xFFFF;
86 else if ((errorCode & ((UInt32)1 << 31)))
89 s = strerror((int)errorCode);
94 m.Add_UInt32(errorCode);
110 UString MyFormatMessage(DWORD errorCode)
113 if (!MyFormatMessage(errorCode, m) || m.IsEmpty())
118 unsigned t = errorCode & 0xF;
119 errorCode >>= 4;