mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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%
61 lines
1.2 KiB
C
61 lines
1.2 KiB
C
/*
|
|
* PROJECT: ReactOS Setup Library
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* PURPOSE: Precompiled header
|
|
* COPYRIGHT: Copyright 2017-2018 Hermes Belusca-Maito
|
|
*/
|
|
|
|
/* C Headers */
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
/* PSDK/NDK Headers */
|
|
#define WIN32_NO_STATUS
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <winreg.h>
|
|
#include <winuser.h>
|
|
|
|
#define NTOS_MODE_USER
|
|
#include <ndk/cmfuncs.h>
|
|
#include <ndk/exfuncs.h>
|
|
#include <ndk/iofuncs.h>
|
|
#include <ndk/kefuncs.h>
|
|
#include <ndk/mmfuncs.h>
|
|
#include <ndk/obfuncs.h>
|
|
#include <ndk/psfuncs.h>
|
|
#include <ndk/rtlfuncs.h>
|
|
#include <ndk/setypes.h>
|
|
|
|
#include <ntstrsafe.h>
|
|
|
|
/* Filesystem headers */
|
|
#include <reactos/rosioctl.h> // For extra partition IDs
|
|
|
|
|
|
#ifndef SPLIBAPI
|
|
#define SPLIBAPI
|
|
#endif
|
|
|
|
//
|
|
///* Internal Headers */
|
|
//#include "interface/consup.h"
|
|
//#include "inffile.h"
|
|
//#include "inicache.h"
|
|
//#include "progress.h"
|
|
//#ifdef __REACTOS__
|
|
//#include "infros.h"
|
|
//#include "filequeue.h"
|
|
//#endif
|
|
|
|
//#include "registry.h"
|
|
//#include "fslist.h"
|
|
//#include "partlist.h"
|
|
//#include "cabinet.h"
|
|
//#include "filesup.h"
|
|
//#include "genlist.h"
|
|
|
|
extern HANDLE ProcessHeap;
|
|
|
|
#include "errorcode.h"
|
|
#include "utils/linklist.h"
|