kernel32: Add stub for GetCurrentPackageId.
[wine] / include / restartmanager.h
1 /*
2  * Copyright (C) 2010 Austin English
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18
19 #ifndef RESTARTMANAGER_H
20 #define RESTARTMANAGER_H
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 #define CCH_RM_MAX_APP_NAME 255
27 #define CH_RM_MAX_SVC_NAME 63
28
29 typedef enum  {
30     RmUnknownApp = 0,
31     RmMainWindow = 1,
32     RmOtherWindow = 2,
33     RmService = 3,
34     RmExplorer = 4,
35     RmConsole = 5,
36     RmCritical = 1000
37 } RM_APP_TYPE;
38
39 typedef struct {
40     DWORD dwProcessId;
41     FILETIME ProcessStartTime;
42 } RM_UNIQUE_PROCESS, *PRM_UNIQUE_PROCESS;
43
44 typedef struct {
45     RM_UNIQUE_PROCESS Process;
46     WCHAR strAppName[CCH_RM_MAX_APP_NAME+1];
47     WCHAR strServiceShortName[CH_RM_MAX_SVC_NAME+1];
48     RM_APP_TYPE ApplicationType;
49     ULONG AppStatus;
50     DWORD TSSessionID;
51     BOOL bRestartable;
52 } RM_PROCESS_INFO, *PRM_PROCESS_INFO;
53
54 #ifdef __cplusplus
55 }
56 #endif
57
58 #endif /* RESTARTMANAGER_H */