ReactOS 0.4.15-dev-7953-g1f49173
inffile.h
Go to the documentation of this file.
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
42extern VOID InfSetHeap(PVOID Heap);
43
44#endif /* __REACTOS__ */
45
46// #include "../lib/utils/infsupp.h"
47
48
49/* HELPER FUNCTIONS **********************************************************/
50
53 IN PSTR FileBuffer,
55 IN PCSTR InfClass,
56 IN DWORD InfStyle,
58 OUT PUINT ErrorLine);
59
60/* EOF */
HINF WINAPI INF_OpenBufferedFileA(IN PSTR FileBuffer, IN ULONG FileSize, IN PCSTR InfClass, IN DWORD InfStyle, IN LCID LocaleId, OUT PUINT ErrorLine)
Definition: infsupp.c:246
unsigned long DWORD
Definition: ntddk_ex.h:95
_Must_inspect_result_ _Out_ PLARGE_INTEGER FileSize
Definition: fsrtlfuncs.h:108
VOID InfSetHeap(PVOID Heap)
Definition: infrosgen.c:40
unsigned int * PUINT
Definition: ndis.h:50
DWORD LCID
Definition: nls.h:13
char * PSTR
Definition: typedefs.h:51
const char * PCSTR
Definition: typedefs.h:52
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING _In_ LCID LocaleId
Definition: wdfpdo.h:437
#define WINAPI
Definition: msvc.h:6