2006-11-08 11:47:44 +00:00
|
|
|
/*
|
|
|
|
* ReactOS kernel
|
|
|
|
* Copyright (C) 2002 ReactOS Team
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
2009-10-27 10:34:16 +00:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2006-11-08 11:47:44 +00:00
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS text-mode setup
|
2015-09-13 16:40:36 +00:00
|
|
|
* FILE: base/setup/usetup/inffile.h
|
2018-01-06 15:47:37 +00:00
|
|
|
* PURPOSE: Interfacing with Setup* API .INF Files support functions
|
|
|
|
* PROGRAMMERS: Hervé Poussineau
|
2017-06-30 19:07:02 +00:00
|
|
|
* Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
2006-11-08 11:47:44 +00:00
|
|
|
*/
|
|
|
|
|
2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2006-11-08 11:47:44 +00:00
|
|
|
|
2017-06-30 19:07:02 +00:00
|
|
|
#ifdef __REACTOS__
|
2006-11-08 11:47:44 +00:00
|
|
|
|
2017-06-30 19:07:02 +00:00
|
|
|
// HACK around the fact INFLIB unconditionally defines MAX_INF_STRING_LENGTH.
|
|
|
|
#undef MAX_INF_STRING_LENGTH
|
2017-06-30 19:02:35 +00:00
|
|
|
|
2017-06-30 19:07:02 +00:00
|
|
|
/* Functions from the INFLIB library */
|
|
|
|
// #include <infcommon.h>
|
|
|
|
#include <infros.h>
|
2006-11-08 11:47:44 +00:00
|
|
|
|
2017-06-30 19:07:02 +00:00
|
|
|
#undef MAX_INF_STRING_LENGTH
|
|
|
|
#define MAX_INF_STRING_LENGTH 1024
|
2006-11-08 11:47:44 +00:00
|
|
|
|
2017-06-30 19:07:02 +00:00
|
|
|
extern VOID InfSetHeap(PVOID Heap);
|
2006-11-08 11:47:44 +00:00
|
|
|
|
2017-06-30 19:07:02 +00:00
|
|
|
#endif /* __REACTOS__ */
|
2006-11-08 11:47:44 +00:00
|
|
|
|
2017-08-28 11:28:08 +00:00
|
|
|
// #include "../lib/utils/infsupp.h"
|
2006-11-08 11:47:44 +00:00
|
|
|
|
|
|
|
|
2017-06-30 19:07:02 +00:00
|
|
|
/* HELPER FUNCTIONS **********************************************************/
|
2006-11-08 11:47:44 +00:00
|
|
|
|
|
|
|
HINF WINAPI
|
|
|
|
INF_OpenBufferedFileA(
|
2018-01-06 15:47:37 +00:00
|
|
|
IN PSTR FileBuffer,
|
|
|
|
IN ULONG FileSize,
|
|
|
|
IN PCSTR InfClass,
|
|
|
|
IN DWORD InfStyle,
|
|
|
|
IN LCID LocaleId,
|
2014-05-12 14:17:37 +00:00
|
|
|
OUT PUINT ErrorLine);
|
2006-11-08 11:47:44 +00:00
|
|
|
|
|
|
|
/* EOF */
|