IDWriteFactory5::AnalyzeContainerType method (dwrite_3.h)
The AnalyzeContainerType method analyzes the specified file data to determine whether it is a known font container format (e.g., WOFF or WOFF2).
Syntax
DWRITE_CONTAINER_TYPE AnalyzeContainerType(
[in] void const *fileData,
UINT32 fileDataSize
);
Parameters
[in] fileData
Type: void
Pointer to the file data to analyze.
fileDataSize
Type: UINT32
Size of the buffer passed in fileData.
Return value
Type: DWRITE_CONTAINER_TYPE
Returns the container type if recognized. DWRITE_CONTAINER_TYPE_UNKOWNN is returned for all other files, including uncompressed font files.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dwrite_3.h |
Library | Dwrite.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for