Process Hacker
wndtree.h
Go to the documentation of this file.
1 #ifndef WNDTREE_H
2 #define WNDTREE_H
3 
4 #define WEWNTLC_CLASS 0
5 #define WEWNTLC_HANDLE 1
6 #define WEWNTLC_TEXT 2
7 #define WEWNTLC_THREAD 3
8 #define WEWNTLC_MAXIMUM 4
9 
10 typedef struct _WE_WINDOW_NODE
11 {
13 
16  BOOLEAN HasChildren;
17  BOOLEAN Opened;
18 
20 
22  WCHAR WindowClass[64];
25  BOOLEAN WindowVisible;
26 
30 
32 {
37 
42 
44  _In_ HWND ParentWindowHandle,
45  _In_ HWND TreeNewHandle,
46  _Out_ PWE_WINDOW_TREE_CONTEXT Context
47  );
48 
50  _In_ PWE_WINDOW_TREE_CONTEXT Context
51  );
52 
53 PWE_WINDOW_NODE WeAddWindowNode(
54  _Inout_ PWE_WINDOW_TREE_CONTEXT Context
55  );
56 
57 PWE_WINDOW_NODE WeFindWindowNode(
58  _In_ PWE_WINDOW_TREE_CONTEXT Context,
59  _In_ HWND WindowHandle
60  );
61 
63  _In_ PWE_WINDOW_TREE_CONTEXT Context,
64  _In_ PWE_WINDOW_NODE WindowNode
65  );
66 
68  _In_ PWE_WINDOW_TREE_CONTEXT Context
69  );
70 
71 PWE_WINDOW_NODE WeGetSelectedWindowNode(
72  _In_ PWE_WINDOW_TREE_CONTEXT Context
73  );
74 
76  _In_ PWE_WINDOW_TREE_CONTEXT Context,
77  _Out_ PWE_WINDOW_NODE **Windows,
78  _Out_ PULONG NumberOfWindows
79  );
80 
81 #endif