<summary>
Creates a font object that matches the properties specified by the LOGFONT structure.
</summary>
<param name="logFont">Structure containing a GDI-compatible font description.</param>
<param name="font">Receives a newly created font object if successful, or NULL in case of error.</param>
<returns>
Standard HRESULT error code.
</returns>
<summary> Creates a font object that matches the properties specified by the LOGFONT structure. </summary> <param name="logFont">Structure containing a GDI-compatible font description.</param> <param name="font">Receives a newly created font object if successful, or NULL in case of error.</param> <returns> Standard HRESULT error code. </returns>