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.
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 |