windows-nt/Source/XPSP1/NT/base/mvdm/wow16/write/preload.h
2020-09-26 16:20:57 +08:00

24 lines
829 B
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/************************************************************/
/* Windows Write, Copyright 1985-1992 Microsoft Corporation */
/************************************************************/
/*----------------TASK ENUMERATED TYPE FOR CODE PRELOAD-----------------*/
#define tskMin 0
#define tskMax 3
#define tskInsert 0 /* Insert, backspace, cursoring */
#define tskFormat 1 /* Char dropdown, formatting, fonts */
#define tskScrap 2 /* Edit dropdown, cut/paste, clipboard */
/*----------------------------------------------------------------------*/
void PreloadCodeTsk( int );
/* Macros for function preloading */
#define LoadWindowsF(f) GetCodeHandle( (FARPROC) f )
#define LoadF(f) { int f(); GetCodeHandle( (FARPROC) f ); }
#define LCBAVAIL 0x00030D40 /* 200K */