mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 01:03:08 +00:00
[SETUPLIB][REACTOS][USETUP] Further improve the interfacing with INF and File-Queue APIs.
This allows using some of the SetupApi.dll functions when SETUPLIB is used in the (Win32) GUI 1st-stage installer "REACTOS", while using the custom implemented NT-aware functions in "USETUP".
This commit is contained in:
parent
44c101c9dc
commit
8f1ab791fa
22 changed files with 702 additions and 396 deletions
29
base/setup/lib/spapisup/spapisup.h
Normal file
29
base/setup/lib/spapisup/spapisup.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Setup Library
|
||||
* FILE: base/setup/lib/spapisup.h
|
||||
* PURPOSE: Interfacing with Setup* API support functions
|
||||
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Make setupapi.h to not define the API as exports to the DLL */
|
||||
#ifdef __REACTOS__
|
||||
#define _SETUPAPI_
|
||||
#endif
|
||||
|
||||
/* Architecture names to be used for architecture-specific INF sections */
|
||||
#ifdef _M_IX86
|
||||
#define INF_ARCH L"x86"
|
||||
#elif defined(_M_AMD64)
|
||||
#define INF_ARCH L"amd64"
|
||||
#elif defined(_M_IA64)
|
||||
#define INF_ARCH L"ia64"
|
||||
#elif defined(_M_ARM)
|
||||
#define INF_ARCH L"arm"
|
||||
#elif defined(_M_PPC)
|
||||
#define INF_ARCH L"ppc"
|
||||
#endif
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue