<summary>
Initializes a LOGFONT structure based on the GDI-compatible properties of the specified font.
</summary>
<param name="font">Specifies a font face.</param>
<param name="logFont">Structure that receives a GDI-compatible font description.</param>
<returns>
Standard HRESULT error code.
</returns>
<summary> Initializes a LOGFONT structure based on the GDI-compatible properties of the specified font. </summary> <param name="font">Specifies a font face.</param> <param name="logFont">Structure that receives a GDI-compatible font description.</param> <returns> Standard HRESULT error code. </returns>