-
Notifications
You must be signed in to change notification settings - Fork 17
/
TempWork.cpp
49 lines (39 loc) · 1.23 KB
/
TempWork.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//////////////////////////////////////////////////////////////////////////
#ifdef _TEST_FUNC
//////////////////////////////////////////////////////////////////////////
#include <windows.h>
#include <tchar.h>
// #include <atlbase.h>
// #include <atlconv.h>
// #include <oleacc.h>
// #include <mshtml.h>
// #include <comdef.h>
// #include <comutil.h>
//#include "Source\WndSpy.h"
//#include "Source\GlobalVar.h"
//#include "TempWork.h"
//////////////////////////////////////////////////////////////////////////
#define STR_TEST TEXT("Test")
#define STR_TEST_START TEXT("Press [YES] to start test...")
#define STR_TEST_END TEXT("Do you want to run main application nextly?")
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
BOOL TestFunc_stub(LPVOID pTestParam)
{
g_hInstance=(HINSTANCE)pTestParam;
InitCommonControls();
if( IDYES==MessageBox(NULL, STR_TEST_START, STR_TEST, MB_YESNO|MB_TOPMOST) )
{
//TestFunc();
}
if( IDYES==MessageBox(NULL, STR_TEST_END, STR_TEST, MB_YESNO|MB_TOPMOST) )
{
return TRUE;
}
else
{
return FALSE;
}
}
//////////////////////////////////////////////////////////////////////////
#endif //#ifdef _TEST_FUNC