mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:16:04 +00:00
[SETUPLIB][USETUP] Move all the code that performs file copying into the SETUPLIB.
This commit is contained in:
parent
f894631472
commit
3d137b05d1
5 changed files with 699 additions and 530 deletions
40
base/setup/lib/install.h
Normal file
40
base/setup/lib/install.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Setup Library
|
||||
* FILE: base/setup/lib/install.c
|
||||
* PURPOSE: Installation functions
|
||||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||
* Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
typedef enum _FILE_COPY_STATUS
|
||||
{
|
||||
None = 0,
|
||||
// Success = 0,
|
||||
} FILE_COPY_STATUS;
|
||||
|
||||
typedef VOID
|
||||
(__cdecl *PFILE_COPY_STATUS_ROUTINE)(IN FILE_COPY_STATUS, ...);
|
||||
|
||||
#if 0
|
||||
BOOLEAN // ERROR_NUMBER
|
||||
PrepareCopyInfFile(
|
||||
IN OUT PUSETUP_DATA pSetupData,
|
||||
IN HINF InfFile,
|
||||
IN PCWSTR SourceCabinet OPTIONAL);
|
||||
#endif
|
||||
|
||||
BOOLEAN // ERROR_NUMBER
|
||||
PrepareFileCopy(
|
||||
IN OUT PUSETUP_DATA pSetupData,
|
||||
IN PFILE_COPY_STATUS_ROUTINE StatusRoutine OPTIONAL);
|
||||
|
||||
BOOLEAN
|
||||
DoFileCopy(
|
||||
IN OUT PUSETUP_DATA pSetupData,
|
||||
IN PSP_FILE_CALLBACK_W MsgHandler,
|
||||
IN PVOID Context OPTIONAL);
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue