Leaked source code of windows server 2003
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.

23 lines
852 B

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