xref: /reactos/base/setup/lib/install.h (revision 3d137b05)
1 /*
2  * COPYRIGHT:       See COPYING in the top level directory
3  * PROJECT:         ReactOS Setup Library
4  * FILE:            base/setup/lib/install.c
5  * PURPOSE:         Installation functions
6  * PROGRAMMERS:     Hervé Poussineau (hpoussin@reactos.org)
7  *                  Hermes Belusca-Maito (hermes.belusca@sfr.fr)
8  */
9 
10 #pragma once
11 
12 typedef enum _FILE_COPY_STATUS
13 {
14     None = 0,
15     // Success = 0,
16 } FILE_COPY_STATUS;
17 
18 typedef VOID
19 (__cdecl *PFILE_COPY_STATUS_ROUTINE)(IN FILE_COPY_STATUS, ...);
20 
21 #if 0
22 BOOLEAN // ERROR_NUMBER
23 PrepareCopyInfFile(
24     IN OUT PUSETUP_DATA pSetupData,
25     IN HINF InfFile,
26     IN PCWSTR SourceCabinet OPTIONAL);
27 #endif
28 
29 BOOLEAN // ERROR_NUMBER
30 PrepareFileCopy(
31     IN OUT PUSETUP_DATA pSetupData,
32     IN PFILE_COPY_STATUS_ROUTINE StatusRoutine OPTIONAL);
33 
34 BOOLEAN
35 DoFileCopy(
36     IN OUT PUSETUP_DATA pSetupData,
37     IN PSP_FILE_CALLBACK_W MsgHandler,
38     IN PVOID Context OPTIONAL);
39 
40 /* EOF */
41