Release 940815
[wine/gsoc-2012-control.git] / include / task.h
blob8be9787fbaf31137fbb69446a8c77b7eb91bce38
1 /*
2 * Task definitions
3 */
5 #ifndef TASK_H
6 #define TASK_H
8 #include "toolhelp.h"
10 typedef struct {
11 TASKENTRY te;
12 int unix_pid;
13 HICON hIcon;
14 HWND *lpWndList;
15 void *lpPrevTask;
16 void *lpNextTask;
17 } WINETASKENTRY;
18 typedef WINETASKENTRY *LPWINETASKENTRY;
20 #define MAXWIN_PER_TASK 256
22 HANDLE CreateNewTask(HINSTANCE hInst, HTASK hTaskParent);
23 BOOL RemoveWindowFromTask(HTASK hTask, HWND hWnd);
24 BOOL AddWindowToTask(HTASK hTask, HWND hWnd);
26 #endif /* TASK_H */