<summary>
CreateCustomFontFileReference creates a reference to an application specific font file resource.
This function enables an application or a document to use a font without having to install it on the system.
The fontFileReferenceKey has to be unique only in the scope of the fontFileLoader used in this call.
</summary>
<param name="fontFileReferenceKey">Font file reference key that uniquely identifies the font file resource
during the lifetime of fontFileLoader.</param>
<param name="fontFileReferenceKeySize">Size of font file reference key in bytes.</param>
<param name="fontFileLoader">Font file loader that will be used by the font system to load data from the file identified by
fontFileReferenceKey.</param>
<param name="fontFile">Contains the newly created font file object, or NULL in case of failure.</param>
<returns>
Standard HRESULT error code.
</returns>
<remarks>
This function is provided for cases when an application or a document needs to use a font
without having to install it on the system. fontFileReferenceKey has to be unique only in the scope
of the fontFileLoader used in this call.
</remarks>
<summary> CreateCustomFontFileReference creates a reference to an application specific font file resource. This function enables an application or a document to use a font without having to install it on the system. The fontFileReferenceKey has to be unique only in the scope of the fontFileLoader used in this call. </summary> <param name="fontFileReferenceKey">Font file reference key that uniquely identifies the font file resource during the lifetime of fontFileLoader.</param> <param name="fontFileReferenceKeySize">Size of font file reference key in bytes.</param> <param name="fontFileLoader">Font file loader that will be used by the font system to load data from the file identified by fontFileReferenceKey.</param> <param name="fontFile">Contains the newly created font file object, or NULL in case of failure.</param> <returns> Standard HRESULT error code. </returns> <remarks> This function is provided for cases when an application or a document needs to use a font without having to install it on the system. fontFileReferenceKey has to be unique only in the scope of the fontFileLoader used in this call. </remarks>