Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Create a blob with data loaded from a file. The new blob and its contents are allocated with the current allocator.
Use this method in preference to IDxcLibrary::CreateBlobFromFile.
Syntax
HRESULT LoadFile(
LPCWSTR pFileName,
UINT32 *pCodePage,
IDxcBlobEncoding **ppBlobEncoding
);
Parameters
pFileName
The name of the file to load from.
pCodePage
An optional code page to use if the blob contains text. For binary data, pass NULL.
ppBlobEncoding
Requirements
Requirement | Value |
---|---|
Header | dxcapi.h |