Source code of Windows XP (NT5)
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.

50 lines
1.3 KiB

  1. // Need this so progman.c can include it in
  2. // a meaningful way.
  3. #ifndef RC_INVOKED
  4. #include <nt.h>
  5. #include <ntrtl.h>
  6. #include <nturtl.h>
  7. #endif
  8. #include <windows.h>
  9. #include <winuserp.h>
  10. // Taskman prototyes
  11. INT_PTR APIENTRY TaskmanDlgProc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam);
  12. WORD APIENTRY TMExecProgram(LPTSTR lpszPath, LPTSTR lpDir, LPTSTR lpTitle);
  13. VOID GetPathInfo(PTSTR szPath,PTSTR *pszFileName,PTSTR *pszExt,WORD *pich,BOOL *pfUnc);
  14. VOID GetFilenameFromPath(PTSTR szPath, PTSTR szFilename);
  15. VOID GetDirectoryFromPath(PTSTR szFilePath, PTSTR szDir);
  16. BOOL TestTokenForAdmin(HANDLE Token);
  17. WINUSERAPI VOID SwitchToThisWindow(HWND, BOOL);
  18. INT TMMessageBox(HWND hWnd,WORD idTitle,WORD idMessage,PTSTR psz,WORD wStyle);
  19. // Taskman global variables
  20. HWND ghwndTMDialog;
  21. BOOL fTMActive;
  22. INT dxTaskman;
  23. INT dyTaskman;
  24. INT dxScreen;
  25. INT dyScreen;
  26. #define MAXTASKNAMELEN 512
  27. #define MAXMSGBOXLEN 513
  28. #define PWRTASKMANDLG 10
  29. #define WMPTASKMANDLG 11
  30. #define IDD_TMTEXT 499
  31. #define IDD_TASKLISTBOX 500
  32. #define IDD_TERMINATE 501
  33. #define IDD_CASCADE 502
  34. #define IDD_TILE 503
  35. #define IDD_ARRANGEICONS 504
  36. #define IDD_RUN 505
  37. #define IDD_TMPATH 506
  38. #define IDD_CLTEXT 507
  39. #define IDD_SWITCH 508