diff options
Diffstat (limited to 'private/oleutest/simpdnd/simpdnd.h')
-rw-r--r-- | private/oleutest/simpdnd/simpdnd.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/private/oleutest/simpdnd/simpdnd.h b/private/oleutest/simpdnd/simpdnd.h new file mode 100644 index 000000000..1337a3907 --- /dev/null +++ b/private/oleutest/simpdnd/simpdnd.h @@ -0,0 +1,45 @@ +//********************************************************************** +// File name: simpdnd.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, LONG lParam); +#else +BOOL FAR PASCAL EXPORT About(HWND hDlg, UINT message, WPARAM wParam, LONG lParam); +#endif + +#ifndef LATER +#define SZCLASSICONBOX "SimpDndIBClass" +#define SZCLASSRESULTIMAGE "SimpDndRIClass" +#endif + + +#ifdef WIN32 + +// Macro for TestDebugOut +#ifdef UNICODE +#undef TestDebugOut +#define TestDebugOut(A); TestDebugOutW(TEXT(A)); +#endif + +#endif + |