forked from winsiderss/systeminformer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsplitter.h
More file actions
45 lines (37 loc) · 818 Bytes
/
Copy pathsplitter.h
File metadata and controls
45 lines (37 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef PH_HSPLITTER_H
#define PH_HSPLITTER_H
typedef struct _PH_HSPLITTER_CONTEXT
{
union
{
ULONG Flags;
struct
{
ULONG Hot : 1;
ULONG HasFocus : 1;
ULONG Spare : 30;
};
};
LONG SplitterOffset;
HWND Window;
HWND ParentWindow;
HWND TopWindow;
HWND BottomWindow;
HBRUSH FocusBrush;
HBRUSH HotBrush;
HBRUSH NormalBrush;
} PH_HSPLITTER_CONTEXT, *PPH_HSPLITTER_CONTEXT;
PPH_HSPLITTER_CONTEXT PhInitializeHSplitter(
_In_ HWND ParentWindow,
_In_ HWND TopWindow,
_In_ HWND BottomWindow
);
VOID PhDeleteHSplitter(
_Inout_ PPH_HSPLITTER_CONTEXT Context
);
VOID PhHSplitterHandleWmSize(
_Inout_ PPH_HSPLITTER_CONTEXT Context,
_In_ INT Width,
_In_ INT Height
);
#endif