2013年7月12日

获取错误代码

摘要: DWORD dwError = GetLastError(); DWORD systemLocale = MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL); HLOCAL hlocal = NULL; // Buffer that gets the error message string BOOL fOk = FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_ALLO... 阅读全文

posted @ 2013-07-12 18:38 Sunny_NUAA 阅读(471) 评论(0) 推荐(0)

导航