#DEFINE WM_CHILDSIZE     (WM_USER + 100) // Client Size changing to Children
#DEFINE WM_PARENTSIZE    (WM_USER + 101)
#DEFINE WM_STATCLICK     (WM_USER + 102) // Messages from StatWin

import WORD MEW_RegisterDLL           ( ASCIIZ name ) MEWLIB 2;

import WORD HookFilePromptWithMacro   ( POINTER fileRec, ASCIIZ macro_name) MEWLIB 10;
import WORD HookColorPromptWithMacro  ( POINTER colorRec, ASCIIZ macro_name) MEWLIB 11;
import WORD HookPrintPromptWithMacro  ( POINTER printRec, ASCIIZ pd_macro_name, ASCIIZ ps_macro_name ) MEWLIB 12;
import WORD HookFontPromptWithMacro   ( POINTER fontRec, ASCIIZ macro_name) MEWLIB 13;

import WORD PrintFromWindow           ( WORD parent, WORD win, POINTER pds, POINTER pPrnOpt) MEWLIB 20;

import DWORD GetShiftUpTime            () MEWLIB 31;
import DWORD GetCtrlUpTime             () MEWLIB 32;
import DWORD GetAltUpTime              () MEWLIB 33;

import VOID DrawBitmap(HDC xdc, HBITMAP xbitmap, WORD xStart, WORD yStart, WORD flags) MEWLIB 50;
import VOID DrawBitmap256(HDC xdc, WORD xbitmap, WORD xStart, WORD yStart, WORD flags) MEWLIB 51;


import WORD Win3_Copy     () MEWLIB 200;
import WORD Win3_Paste    () MEWLIB 201;
import WORD Win3_Clipboard() MEWLIB 202;
import BOOL BufferToText  ( tGlobalHandle vp ) MEWLIB 203;
import WORD TextToBuffer  ( *DWORD vp, WORD s, BOOL realloc_to_size ) MEWLIB 204;

import VOID BufferEraseNoReset() MEWLIB 210;

import VOID BufferLoadFile( ASCIIZ fn, DWORD linecount, BOOL no_reset) MEWLIB 211;
import BOOL WcmdIsEnabled( WORD window_num, WORD wid ) MEWLIB 212;

import VOID EncryptStr( POINTER s, POINTER key ) MEWLIB 6;
import VOID DecypherStr( POINTER s, POINTER key ) MEWLIB 7;