#include <vmsSingleInstance.h>
Public Member Functions | |
| void | FreeInstance () |
| BOOL | is_1stInstance () |
| void | Shutdown1stInstance () |
| HWND | get_1stInstanceHWND () |
| void | set_1stInstanceHWND (HWND hwnd) |
| vmsSingleInstance (LPCSTR pszAppName) | |
| virtual | ~vmsSingleInstance () |
Protected Attributes | |
| HANDLE | m_hmx |
Definition at line 15 of file vmsSingleInstance.h.
| vmsSingleInstance::vmsSingleInstance | ( | LPCSTR | pszAppName | ) |
Definition at line 15 of file vmsSingleInstance.cpp.
References FALSE, GetLastError(), m_hmx, and NULL.
| vmsSingleInstance::~vmsSingleInstance | ( | ) | [virtual] |
Definition at line 29 of file vmsSingleInstance.cpp.
| void vmsSingleInstance::FreeInstance | ( | ) |
| BOOL vmsSingleInstance::is_1stInstance | ( | ) |
Definition at line 34 of file vmsSingleInstance.cpp.
Referenced by CWebInterfaceApp::InitInstance().
| void vmsSingleInstance::Shutdown1stInstance | ( | ) |
Definition at line 49 of file vmsSingleInstance.cpp.
References get_1stInstanceHWND(), and WM_APP_NEEDSHUTDOWN.
| HWND vmsSingleInstance::get_1stInstanceHWND | ( | ) |
Definition at line 44 of file vmsSingleInstance.cpp.
References NULL.
Referenced by Shutdown1stInstance().
| void vmsSingleInstance::set_1stInstanceHWND | ( | HWND | hwnd | ) |
Definition at line 39 of file vmsSingleInstance.cpp.
HANDLE vmsSingleInstance::m_hmx [protected] |
Definition at line 34 of file vmsSingleInstance.h.
Referenced by FreeInstance(), is_1stInstance(), and vmsSingleInstance().
1.5.6