Windows NT 4.0 source code leak
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.

41 lines
1.0 KiB

4 years ago
  1. #define MAX_THREADS 10
  2. #define CONTROLHEIGHT 22
  3. #define DIVISOR 10 // screensize/divisor == desktop rectangle size
  4. void ThreadInit(LPVOID tData); // Startup routine
  5. BOOL InitApplication (void);
  6. LONG APIENTRY WndProc(HWND, UINT, WPARAM, LPARAM); // window procedure
  7. LONG APIENTRY PreviewWndProc (HWND, UINT, WPARAM, LPARAM);
  8. #define FIRST_STRING 901
  9. #define LAST_STRING 911
  10. #define MAXSTRLEN 30
  11. //
  12. // String table IDs
  13. //
  14. #define IDS_DESKTOPNAME 901
  15. #define IDS_CREATEERROR 902
  16. #define IDS_ERRCAPTION 903
  17. #define IDS_MEMERRCAPTION 904
  18. #define IDS_WNDSTAERROR 905
  19. #define IDS_RUNLABEL 906
  20. #define IDS_RUNLABELHOT 907
  21. #define IDS_BTNLABEL 908
  22. #define IDS_NEWLABEL 909
  23. #define IDS_NEWLABELHOT 910
  24. #define IDS_BADDESKTOP 911
  25. // Control IDs
  26. #define IDC_STATIC -1
  27. #define STATICWIDTH 32
  28. #define IDC_RUNME 10001
  29. #define EDITWIDTH 90
  30. #define IDC_RUNMEBTN 10002
  31. #define BTNWIDTH 72
  32. #define IDC_NEWDSKBTN 10003
  33. #define MINWINDOWWIDTH STATICWIDTH+EDITWIDTH+2*BTNWIDTH+30