mirror of https://github.com/tongzx/nt5src
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
40 lines
1.9 KiB
/*****************************************************************************
|
|
* *
|
|
* RTF.H *
|
|
* *
|
|
* Copyright (C) Microsoft Corporation 1988. *
|
|
* All Rights reserved. *
|
|
* *
|
|
******************************************************************************
|
|
* *
|
|
* Program Description: *
|
|
* *
|
|
******************************************************************************
|
|
* *
|
|
* Revision History: Created 12/12/88 by Robert Bunney *
|
|
* Ported to a simple windows parser 02/14/89 ToddLa *
|
|
* *
|
|
* *
|
|
******************************************************************************/
|
|
|
|
#define PUBLIC
|
|
#if DBG
|
|
#define PRIVATE
|
|
#else
|
|
#define PRIVATE static
|
|
#endif
|
|
|
|
BOOL PUBLIC rtfPaint (HDC hdc, LPRECT lprc, LPSTR qch);
|
|
DWORD PUBLIC rtfGetTextExtent (HDC hdc, LPSTR qch);
|
|
BOOL PUBLIC rtfInit (HANDLE hInst);
|
|
BOOL PUBLIC rtfFaceName (HWND hwnd, LPSTR qch);
|
|
|
|
LONG APIENTRY rtfWndProc(HWND hwnd, UINT msg, WPARAM wParam, LONG lParam);
|
|
|
|
|
|
#define RTF_SETHANDLE (WM_USER + 1)
|
|
#define RTF_GETHANDLE (WM_USER + 2)
|
|
#define RTF_SETDEFFACE (WM_USER + 3)
|
|
#define RTF_SETDEFSIZE (WM_USER + 4)
|
|
#define RTF_SETDEFFG (WM_USER + 5)
|
|
#define RTF_SETDEFBG (WM_USER + 6)
|