ReactOS  0.4.14-dev-342-gdc047f9
precomp.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Utility Manager (Accessibility)
3  * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE: Pre-compiled header file
5  * COPYRIGHT: Copyright 2019 BiČ™oc George (fraizeraust99 at gmail dot com)
6  */
7 
8 #ifndef _UTILMAN_H
9 #define _UTILMAN_H
10 
11 /* INCLUDES ******************************************************************/
12 
13 #include <stdlib.h>
14 #include <windows.h>
15 #include <commctrl.h>
16 #include <tlhelp32.h>
17 #include <windowsx.h>
18 #include <debug.h>
19 #include <wchar.h>
20 #include <strsafe.h>
21 
22 #include "resource.h"
23 
24 /* DEFINES ********************************************************************/
25 
26 #define MAX_BUFFER 256
27 
28 /* TYPES **********************************************************************/
29 
30 typedef struct
31 {
40  WCHAR szRunning[MAX_BUFFER];
41  WCHAR szNotRunning[MAX_BUFFER];
42  WCHAR szGrpBoxTitle[MAX_BUFFER];
44 
45 typedef struct _UTILMAN_STATE
46 {
52 
53 /* DECLARATIONS ***************************************************************/
54 
55 /* dialog.c */
59 VOID CheckUtilityState(BOOL bUtilState);
60 
61 /* process.c */
62 BOOL IsProcessRunning(IN LPCWSTR lpProcessName);
63 BOOL LaunchProcess(LPCWSTR lpProcessName);
64 BOOL CloseProcess(IN LPCWSTR lpProcessName);
65 
66 /* about.c */
67 VOID ShowAboutDlg(HWND hDlgParent);
69 
70 /* Struct variable declaration */
72 
73 #endif /* _UTILMAN_H */
74 
75 /* EOF */
#define IN
Definition: typedefs.h:38
static HICON
Definition: imagelist.c:84
UINT uNameId
Definition: precomp.h:48
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
struct @1591 Msg[]
BOOL IsProcessRunning(IN LPCWSTR lpProcessName)
Definition: process.c:27
#define CALLBACK
Definition: compat.h:27
HINSTANCE hInstance
Definition: precomp.h:32
INT_PTR APIENTRY DlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
Definition: dialog.c:120
WCHAR szResource[MAX_BUFFER]
Definition: precomp.h:49
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT_PTR
Definition: typedefs.h:62
int32_t INT
Definition: typedefs.h:56
WPARAM wParam
Definition: combotst.c:138
CLIPBOARD_GLOBALS Globals
Definition: clipbrd.c:13
unsigned int BOOL
Definition: ntddk_ex.h:94
INT_PTR CALLBACK AboutDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
Definition: sndrec32.cpp:83
struct _UTILMAN_STATE UTILMAN_STATE
LONG_PTR LPARAM
Definition: windef.h:208
HICON hIcon
Definition: precomp.h:33
VOID CheckUtilityState(BOOL bUtilState)
HWND hDlgCtlStart
Definition: precomp.h:36
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define MAX_BUFFER
Definition: precomp.h:26
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
BOOL DlgInitHandler(HWND hDlg)
INT ListBoxRefreshContents(VOID)
Definition: dialog.c:206
BOOL bState
Definition: precomp.h:50
HWND hDlgCtlStop
Definition: precomp.h:37
BOOL LaunchProcess(LPCWSTR lpProcessName)
Definition: process.c:73
HWND hMainDlg
Definition: precomp.h:39
struct _UTILMAN_STATE * PUTILMAN_STATE
unsigned int UINT
Definition: ndis.h:50
HWND hListDlg
Definition: precomp.h:38
BOOL CloseProcess(IN LPCWSTR lpProcessName)
Definition: process.c:148
LPCWSTR lpProgram
Definition: precomp.h:47
INT iSelectedIndex
Definition: precomp.h:35
LPARAM lParam
Definition: combotst.c:139
#define APIENTRY
Definition: api.h:79
UINT_PTR iTimer
Definition: precomp.h:34
VOID ShowAboutDlg(HWND hWndParent)
Definition: about.c:77