This data member contains a handle to the current instance of the application running under Windows. It corresponds to the hInstance parameter passed by Windows to WinMain. This member is returned by the global function AfxGetInstanceHandle.
HINSTANCE m_hInstance;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWinApp Overview, CWinApp Data Members, Application Architecture Classes