repo.or.cz
/
wine
/
gsoc-2012-control.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Release 940815
[wine/gsoc-2012-control.git]
/
include
/
task.h
blob
8be9787fbaf31137fbb69446a8c77b7eb91bce38
1
/*
2
* Task definitions
3
*/
4
5
#ifndef TASK_H
6
#define TASK_H
7
8
#include
"toolhelp.h"
9
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
;
19
20
#define MAXWIN_PER_TASK 256
21
22
HANDLE
CreateNewTask
(
HINSTANCE hInst
,
HTASK hTaskParent
);
23
BOOL
RemoveWindowFromTask
(
HTASK hTask
,
HWND hWnd
);
24
BOOL
AddWindowToTask
(
HTASK hTask
,
HWND hWnd
);
25
26
#endif
/* TASK_H */
27