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.9 KiB

  1. /*****************************************************************************
  2. * *
  3. * RTF.H *
  4. * *
  5. * Copyright (C) Microsoft Corporation 1988. *
  6. * All Rights reserved. *
  7. * *
  8. ******************************************************************************
  9. * *
  10. * Program Description: *
  11. * *
  12. ******************************************************************************
  13. * *
  14. * Revision History: Created 12/12/88 by Robert Bunney *
  15. * Ported to a simple windows parser 02/14/89 ToddLa *
  16. * *
  17. * *
  18. ******************************************************************************/
  19. #define PUBLIC
  20. #if DBG
  21. #define PRIVATE
  22. #else
  23. #define PRIVATE static
  24. #endif
  25. BOOL PUBLIC rtfPaint (HDC hdc, LPRECT lprc, LPSTR qch);
  26. DWORD PUBLIC rtfGetTextExtent (HDC hdc, LPSTR qch);
  27. BOOL PUBLIC rtfInit (HANDLE hInst);
  28. BOOL PUBLIC rtfFaceName (HWND hwnd, LPSTR qch);
  29. LONG APIENTRY rtfWndProc(HWND hwnd, UINT msg, WPARAM wParam, LONG lParam);
  30. #define RTF_SETHANDLE (WM_USER + 1)
  31. #define RTF_GETHANDLE (WM_USER + 2)
  32. #define RTF_SETDEFFACE (WM_USER + 3)
  33. #define RTF_SETDEFSIZE (WM_USER + 4)
  34. #define RTF_SETDEFFG (WM_USER + 5)
  35. #define RTF_SETDEFBG (WM_USER + 6)