ReactOS  0.4.15-dev-2961-gecb0c09
inffile.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

HINF WINAPI INF_OpenBufferedFileA (IN PSTR FileBuffer, IN ULONG FileSize, IN PCSTR InfClass, IN DWORD InfStyle, IN LCID LocaleId, OUT PUINT ErrorLine)
 

Function Documentation

◆ 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 at line 244 of file infsupp.c.

251 {
252  HINF hInf = NULL;
253  ULONG ErrorLineUL;
255 
256  Status = InfOpenBufferedFile(&hInf,
257  FileBuffer,
258  FileSize,
260  &ErrorLineUL);
261  *ErrorLine = (UINT)ErrorLineUL;
262  if (!NT_SUCCESS(Status))
263  return INVALID_HANDLE_VALUE;
264 
265  return hInf;
266 }
NTSTATUS InfOpenBufferedFile(PHINF InfHandle, PVOID Buffer, ULONG BufferSize, LANGID LanguageId, PULONG ErrorLine)
Definition: infrosgen.c:51
LONG NTSTATUS
Definition: precomp.h:26
#define INVALID_HANDLE_VALUE
Definition: compat.h:590
Status
Definition: gdiplustypes.h:24
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING _In_ LCID LocaleId
Definition: wdfpdo.h:430
#define LANGIDFROMLCID(l)
Definition: nls.h:18
_Must_inspect_result_ _Out_ PLARGE_INTEGER FileSize
Definition: fsrtlfuncs.h:108
unsigned int UINT
Definition: ndis.h:50
#define NULL
Definition: types.h:112
unsigned int ULONG
Definition: retypes.h:1

Referenced by PrepareFileCopy().