summaryrefslogtreecommitdiffstats
path: root/private/oleutest/simpcntr/simpcntr.h
blob: 190e0c42777ffc7672d6f4a8eafd040ac54219b7 (plain) (blame)
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
//**********************************************************************
// File name: simple.h
//
// Copyright (c) 1992 - 1993 Microsoft Corporation. All rights reserved.
//**********************************************************************
#define IDM_ABOUT 100
#define IDM_INSERT  101
#define IDM_VERB0 1000

int PASCAL WinMain
#ifdef WIN32
   (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
#else
   (HANDLE  hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
#endif

BOOL InitApplication(HANDLE hInstance);
BOOL InitInstance(HANDLE hInstance, int nCmdShow);
long FAR PASCAL EXPORT MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
long FAR PASCAL EXPORT DocWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);

#ifdef WIN32
BOOL CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
#else
BOOL FAR PASCAL EXPORT About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
#endif


/* These strings are used to name two custom control classes used by
**    the OLE2UI library. These strings must be unique for each
**    application that uses the OLE2UI library. These strings should be
**    composed by combining the APPNAME with a suffix in order to be
**    unique for a particular application. The special symbols
**    "SZCLASSICONBOX" and "SZCLASSRESULTIMAGE" are used define these
**    strings. These symbols are passed in the OleUIInitialize call and
**    are referenced in the INSOBJ.DLG and PASTESPL.DLG resouce files
**    of the OLE2UI library.
*/
#define SZCLASSICONBOX "simpcntrIBClass"
#define SZCLASSRESULTIMAGE "simpcntrRIClass"