|
|
1.1 root 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:
10: #ifndef _BUSY_H_
11: #define _BUSY_H_
12:
13: //Internally used structure
14: typedef struct tagBUSY
15: {
16: //Keep this item first as the Standard* functions depend on it here.
17: LPOLEUIBUSY lpOBZ; //Original structure passed.
18:
19: /*
20: * What we store extra in this structure besides the original caller's
21: * pointer are those fields that we need to modify during the life of
22: * the dialog or that we don't want to change in the original structure
23: * until the user presses OK.
24: */
25:
26: DWORD dwFlags; // Flags passed in
27: HWND hWndBlocked; // HWND of app which is blocking
28: } BUSY, *PBUSY, FAR *LPBUSY;
29:
30: // Internal function prototypes
31: BOOL GetTaskInfo(HWND hWnd, HTASK htask, LPSTR FAR* lplpszTaskName, LPSTR FAR*lplpszWindowName, HWND FAR*lphWnd);
32: void BuildBusyDialogString(HWND, DWORD, int, LPSTR, LPSTR);
33: BOOL CALLBACK EXPORT BusyDialogProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
34: void BusyCleanup(HWND hDlg);
35: BOOL FBusyInit(HWND hDlg, WPARAM wParam, LPARAM lParam);
36: void FAR * IMallocMemAlloc(DWORD dwSize);
37: SCODE IMallocMemFree(void FAR *ptr);
38: BOOL InitEnumeration(void);
39: void UnInitEnumeration(void);
40: StartTaskManager(void);
41: void MakeWindowActive(HWND hWndSwitchTo);
42:
43: #endif //_BUSY_H_
44:
45:
46:
47:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.