1 /* 2 * ReactOS kernel 3 * Copyright (C) 2002 ReactOS Team 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License along 16 * with this program; if not, write to the Free Software Foundation, Inc., 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18 */ 19 /* 20 * COPYRIGHT: See COPYING in the top level directory 21 * PROJECT: ReactOS text-mode setup 22 * FILE: base/setup/usetup/inffile.h 23 * PURPOSE: Interfacing with Setup* API .INF Files support functions 24 * PROGRAMMERS: Hervé Poussineau 25 * Hermes Belusca-Maito (hermes.belusca@sfr.fr) 26 */ 27 28 #pragma once 29 30 #ifdef __REACTOS__ 31 32 // HACK around the fact INFLIB unconditionally defines MAX_INF_STRING_LENGTH. 33 #undef MAX_INF_STRING_LENGTH 34 35 /* Functions from the INFLIB library */ 36 // #include <infcommon.h> 37 #include <infros.h> 38 39 #undef MAX_INF_STRING_LENGTH 40 #define MAX_INF_STRING_LENGTH 1024 41 42 extern VOID InfSetHeap(PVOID Heap); 43 44 #endif /* __REACTOS__ */ 45 46 // #include "../lib/utils/infsupp.h" 47 48 49 /* HELPER FUNCTIONS **********************************************************/ 50 51 HINF WINAPI 52 INF_OpenBufferedFileA( 53 IN PSTR FileBuffer, 54 IN ULONG FileSize, 55 IN PCSTR InfClass, 56 IN DWORD InfStyle, 57 IN LCID LocaleId, 58 OUT PUINT ErrorLine); 59 60 /* EOF */ 61