ReactOS  0.4.13-dev-92-gf251225
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,
259  LANGIDFROMLCID(LocaleId),
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:391
smooth NULL
Definition: ftsmooth.c:416
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define LANGIDFROMLCID(l)
Definition: nls.h:18
_Must_inspect_result_ _Out_ PLARGE_INTEGER FileSize
Definition: fsrtlfuncs.h:108
Status
Definition: gdiplustypes.h:24
unsigned int UINT
Definition: ndis.h:50
unsigned int ULONG
Definition: retypes.h:1

Referenced by PrepareFileCopy().