Process Hacker
colorbox.h
Go to the documentation of this file.
1 #ifndef _PH_COLORBOX_H
2 #define _PH_COLORBOX_H
3 
4 #define PH_COLORBOX_CLASSNAME L"PhColorBox"
5 
7  VOID
8  );
9 
10 #define CBCM_SETCOLOR (WM_APP + 1501)
11 #define CBCM_GETCOLOR (WM_APP + 1502)
12 
13 #define ColorBox_SetColor(hWnd, Color) \
14  SendMessage((hWnd), CBCM_SETCOLOR, (WPARAM)(Color), 0)
15 
16 #define ColorBox_GetColor(hWnd) \
17  ((COLORREF)SendMessage((hWnd), CBCM_GETCOLOR, 0, 0))
18 
19 #endif