add the vista application recovery functions to w32api and add their stubs to kernel32
[reactos.git] / reactos / lib / kernel32 / misc / recovery.c
1 /*
2 * ReactOS kernel
3 * Copyright (C) 2005 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 /* $Id$
20 *
21 * KERNEL32.DLL application recovery functions
22 *
23 * COPYRIGHT: See COPYING in the top level directory
24 * PROJECT: ReactOS system libraries
25 * FILE: lib/kernel32/misc/recovery.c
26 * PURPOSE: Application Recovery functions
27 * PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
28 *
29 * UPDATE HISTORY:
30 * 10/28/2005 Created stubs (w3)
31 */
32
33 #include <k32.h>
34
35 #define NDEBUG
36 #include "../include/debug.h"
37
38 /* PUBLIC FUNCTIONS ***********************************************************/
39
40 /*
41 * @unimplemented
42 */
43 HRESULT
44 WINAPI
45 GetApplicationRecoveryCallback(IN HANDLE hProcess,
46 OUT APPLICATION_RECOVERY_CALLBACK* pRecoveryCallback,
47 OUT PVOID* ppvParameter)
48 {
49 UNIMPLEMENTED;
50 return E_FAIL;
51 }
52
53
54 /*
55 * @unimplemented
56 */
57 HRESULT
58 WINAPI
59 GetApplicationRestart(IN HANDLE hProcess,
60 OUT PWSTR pwzCommandline OPTIONAL,
61 IN OUT PDWORD pcchSize,
62 OUT PDWORD pdwFlags OPTIONAL)
63 {
64 UNIMPLEMENTED;
65 return E_FAIL;
66 }
67
68
69 /*
70 * @unimplemented
71 */
72 VOID
73 WINAPI
74 RecoveryFinished(IN BOOL bSuccess)
75 {
76 UNIMPLEMENTED;
77 }
78
79
80 /*
81 * @unimplemented
82 */
83 HRESULT
84 WINAPI
85 RecoveryInProgress(OUT PBOOL pbCancelled)
86 {
87 UNIMPLEMENTED;
88 return E_FAIL;
89 }
90
91
92 /*
93 * @unimplemented
94 */
95 HRESULT
96 WINAPI
97 RegisterApplicationRecoveryCallback(IN APPLICATION_RECOVERY_CALLBACK pRecoveyCallback,
98 IN PVOID pvParameter OPTIONAL)
99 {
100 UNIMPLEMENTED;
101 return E_FAIL;
102 }
103
104
105 /*
106 * @unimplemented
107 */
108 HRESULT
109 WINAPI
110 RegisterApplicationRestart(IN PCWSTR pwzCommandline OPTIONAL,
111 IN DWORD dwFlags)
112 {
113 UNIMPLEMENTED;
114 return E_FAIL;
115 }
116
117 /* EOF */