mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
d7c1d220b5
CORE-13525 Notes: - Most of the exported functions have been turned from default cdecl to explicit stdcall / "NTAPI". - The two InitializeSetup() phases have been collapsed to make the initialization simpler. Average reductions (percentages; see PR #7523 for actual numbers): x86 Debug builds: reactos.exe: 35.1% smss.exe : 39.8% Total (including setuplib.dll): 17.9% x86 Release builds: reactos.exe: 22.3% smss.exe : 25.0% Total (including setuplib.dll): 10.6% x64 Debug builds: reactos.exe: 40.6% smss.exe : 41.6% Total (including setuplib.dll): 20.0% x64 Release builds: reactos.exe: 22.8% smss.exe : 22.3% Total (including setuplib.dll): 10.1%
42 lines
943 B
C
42 lines
943 B
C
/*
|
|
* 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
|
|
NTAPI
|
|
PrepareFileCopy(
|
|
IN OUT PUSETUP_DATA pSetupData,
|
|
IN PFILE_COPY_STATUS_ROUTINE StatusRoutine OPTIONAL);
|
|
|
|
BOOLEAN
|
|
NTAPI
|
|
DoFileCopy(
|
|
IN OUT PUSETUP_DATA pSetupData,
|
|
IN PSP_FILE_CALLBACK_W MsgHandler,
|
|
IN PVOID Context OPTIONAL);
|
|
|
|
/* EOF */
|