Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.6 KiB

  1. //**********************************************************************
  2. // File name: simple.h
  3. //
  4. // Copyright (c) 1992 - 1993 Microsoft Corporation. All rights reserved.
  5. //**********************************************************************
  6. #define IDM_ABOUT 100
  7. #define IDM_INSERT 101
  8. #define IDM_VERB0 1000
  9. int PASCAL WinMain
  10. #ifdef WIN32
  11. (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
  12. #else
  13. (HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
  14. #endif
  15. BOOL InitApplication(HANDLE hInstance);
  16. BOOL InitInstance(HANDLE hInstance, int nCmdShow);
  17. LRESULT FAR PASCAL EXPORT MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
  18. LRESULT FAR PASCAL EXPORT DocWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
  19. #ifdef WIN32
  20. INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  21. #else
  22. BOOL FAR PASCAL EXPORT About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  23. #endif
  24. /* These strings are used to name two custom control classes used by
  25. ** the OLE2UI library. These strings must be unique for each
  26. ** application that uses the OLE2UI library. These strings should be
  27. ** composed by combining the APPNAME with a suffix in order to be
  28. ** unique for a particular application. The special symbols
  29. ** "SZCLASSICONBOX" and "SZCLASSRESULTIMAGE" are used define these
  30. ** strings. These symbols are passed in the OleUIInitialize call and
  31. ** are referenced in the INSOBJ.DLG and PASTESPL.DLG resouce files
  32. ** of the OLE2UI library.
  33. */
  34. #define SZCLASSICONBOX "simpcntrIBClass"
  35. #define SZCLASSRESULTIMAGE "simpcntrRIClass"