VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/restartmanager.h@ 53201

最後變更 在這個檔案從53201是 53201,由 vboxsync 提交於 10 年 前

Devices/Main: vmsvga updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.5 KB
 
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
23extern "C" {
24#endif
25
26#define CCH_RM_MAX_APP_NAME 255
27#define CH_RM_MAX_SVC_NAME 63
28
29typedef 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
39typedef struct {
40 DWORD dwProcessId;
41 FILETIME ProcessStartTime;
42} RM_UNIQUE_PROCESS, *PRM_UNIQUE_PROCESS;
43
44typedef 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 */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette