18 const CHAR *HeaderComment)
40 DPRINT(
"fopen() successful\n");
42 if (
NULL != HeaderComment &&
'\0' != *HeaderComment)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP size_t __cdecl fwrite(_In_reads_bytes_(_Size *_Count) const void *_Str, _In_ size_t _Size, _In_ size_t _Count, _Inout_ FILE *_File)
int InfHostWriteFile(HINF InfHandle, const CHAR *FileName, const CHAR *HeaderComment)
int InfHostAddField(PINFCONTEXT Context, const WCHAR *Data)
int InfHostFindOrAddSection(HINF InfHandle, const WCHAR *Section, PINFCONTEXT *Context)
int InfHostAddLine(PINFCONTEXT Context, const WCHAR *Key)
INFSTATUS InfpFindOrAddSection(PINFCACHE Cache, PCWSTR Section, PINFCONTEXT *Context)
INFSTATUS InfpAddLineWithKey(PINFCONTEXT Context, PCWSTR Key)
INFSTATUS InfpBuildFileBuffer(PINFCACHE InfHandle, PWCHAR *Buffer, PULONG BufferSize)
INFSTATUS InfpAddField(PINFCONTEXT Context, PCWSTR Data)
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize