From e611b132f9b8abe35b362e5870b74bce94a1e58e Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 16 May 2020 20:51:50 -0700 Subject: initial commit --- private/oleutest/simpdnd/simpdnd.h | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 private/oleutest/simpdnd/simpdnd.h (limited to 'private/oleutest/simpdnd/simpdnd.h') 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 + -- cgit v1.2.3