3 * Copyright (C) 2005 ReactOS Team
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.
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.
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.
21 * KERNEL32.DLL application recovery functions
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>
30 * 10/28/2005 Created stubs (w3)
36 #include "../include/debug.h"
38 /* PUBLIC FUNCTIONS ***********************************************************/
45 GetApplicationRecoveryCallback(IN HANDLE hProcess
,
46 OUT APPLICATION_RECOVERY_CALLBACK
* pRecoveryCallback
,
47 OUT PVOID
* ppvParameter
)
59 GetApplicationRestart(IN HANDLE hProcess
,
60 OUT PWSTR pwzCommandline OPTIONAL
,
61 IN OUT PDWORD pcchSize
,
62 OUT PDWORD pdwFlags OPTIONAL
)
74 RecoveryFinished(IN BOOL bSuccess
)
85 RecoveryInProgress(OUT PBOOL pbCancelled
)
97 RegisterApplicationRecoveryCallback(IN APPLICATION_RECOVERY_CALLBACK pRecoveyCallback
,
98 IN PVOID pvParameter OPTIONAL
)
110 RegisterApplicationRestart(IN PCWSTR pwzCommandline OPTIONAL
,