Windows2000/private/ntos/config/i386/parseini.h
2020-09-30 17:12:32 +02:00

66 lines
1.0 KiB
C

PVOID
CmpOpenInfFile(
IN PVOID InfImage,
IN ULONG ImageSize
);
VOID
CmpCloseInfFile(
PVOID InfHandle
);
PCHAR
CmpGetKeyName(
IN PVOID INFHandle,
IN PCHAR SectionName,
IN ULONG LineIndex
);
BOOLEAN
CmpSearchInfSection(
IN PVOID InfHandle,
IN PCHAR SectionName
);
BOOLEAN
CmpSearchInfLine(
IN PVOID INFHandle,
IN PCHAR SectionName,
IN ULONG LineIndex
);
PCHAR
CmpGetSectionLineIndex (
IN PVOID INFHandle,
IN PCHAR SectionName,
IN ULONG LineIndex,
IN ULONG ValueIndex
);
ULONG
CmpGetSectionLineIndexValueCount(
IN PVOID INFHandle,
IN PCHAR SectionName,
IN ULONG LineIndex
);
BOOLEAN
CmpGetIntField(
IN PVOID INFHandle,
IN PCHAR SectionName,
IN ULONG LineIndex,
IN ULONG ValueIndex,
IN OUT PULONG Data
);
BOOLEAN
CmpGetBinaryField(
IN PVOID INFHandle,
IN PCHAR SectionName,
IN ULONG LineIndex,
IN ULONG ValueIndex,
IN OUT PVOID Buffer,
IN ULONG BufferSize,
IN OUT PULONG ActualSize
);