ReactOS
0.4.15-dev-5875-g7c755d9
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
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 */
INF_OpenBufferedFileA
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:244
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
FileSize
_Must_inspect_result_ _Out_ PLARGE_INTEGER FileSize
Definition:
fsrtlfuncs.h:108
infros.h
InfSetHeap
VOID InfSetHeap(PVOID Heap)
Definition:
infrosgen.c:40
void
Definition:
nsiface.idl:2307
PUINT
unsigned int * PUINT
Definition:
ndis.h:50
LCID
DWORD LCID
Definition:
nls.h:13
PSTR
char * PSTR
Definition:
typedefs.h:51
PCSTR
const char * PCSTR
Definition:
typedefs.h:52
IN
#define IN
Definition:
typedefs.h:39
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
OUT
#define OUT
Definition:
typedefs.h:40
LocaleId
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING _In_ LCID LocaleId
Definition:
wdfpdo.h:437
WINAPI
#define WINAPI
Definition:
msvc.h:6
base
setup
usetup
spapisup
inffile.h
Generated on Mon Mar 27 2023 06:02:02 for ReactOS by
1.9.6