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.

45 lines
1.4 KiB

  1. /*
  2. * BUSY.H
  3. *
  4. * Internal definitions, structures, and function prototypes for the
  5. * OLE 2.0 UI Busy dialog.
  6. *
  7. * Copyright (c)1992 Microsoft Corporation, All Right Reserved
  8. */
  9. #ifndef _BUSY_H_
  10. #define _BUSY_H_
  11. //Internally used structure
  12. typedef struct tagBUSY
  13. {
  14. //Keep this item first as the Standard* functions depend on it here.
  15. LPOLEUIBUSY lpOBZ; //Original structure passed.
  16. /*
  17. * What we store extra in this structure besides the original caller's
  18. * pointer are those fields that we need to modify during the life of
  19. * the dialog or that we don't want to change in the original structure
  20. * until the user presses OK.
  21. */
  22. DWORD dwFlags; // Flags passed in
  23. HWND hWndBlocked; // HWND of app which is blocking
  24. } BUSY, *PBUSY, FAR *LPBUSY;
  25. // Internal function prototypes
  26. BOOL GetTaskInfo(HWND hWnd, HTASK htask, LPTSTR FAR* lplpszTaskName, LPTSTR FAR*lplpszWindowName, HWND FAR*lphWnd);
  27. void BuildBusyDialogString(HWND, DWORD, int, LPTSTR, LPTSTR);
  28. BOOL CALLBACK EXPORT BusyDialogProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
  29. void BusyCleanup(HWND hDlg);
  30. BOOL FBusyInit(HWND hDlg, WPARAM wParam, LPARAM lParam);
  31. BOOL InitEnumeration(void);
  32. void UnInitEnumeration(void);
  33. StartTaskManager(void);
  34. void MakeWindowActive(HWND hWndSwitchTo);
  35. #endif //_BUSY_H_
  36.