📄 win32exception.h
字号:
/*
CWin32Exception - A CException derived class to raise exceptions for Win32 error codes
Initial release 4/19/2004
Contact : jg@jgsoftware.com
Use the code for anything, just submit suggestions and bug fixes to above address.
*/
#pragma once
// CWin32Exception
class CWin32Exception : public CException
{
DECLARE_DYNAMIC(CWin32Exception)
public:
DWORD m_dwError;
CWin32Exception(DWORD dwError);
virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError,PUINT pnHelpContext = NULL);
};
void __declspec(noreturn) AFXAPI AfxThrowWin32Exception(DWORD dwError);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -