File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 9999S_FALSE
100100MSG
101101E_NOTIMPL
102+ LOGFONTW
Original file line number Diff line number Diff line change 55using Windows . UI ;
66using Windows . Win32 ;
77using Windows . Win32 . Foundation ;
8+ using Windows . Win32 . Graphics . Gdi ;
89using Windows . Win32 . System . Com ;
10+ using Windows . Win32 . UI . WindowsAndMessaging ;
911
1012namespace Files . App . Utils . Shell
1113{
@@ -94,7 +96,7 @@ interface IPreviewHandlerVisuals
9496 [ PreserveSig ]
9597 HRESULT SetBackgroundColor ( uint color ) ;
9698 [ PreserveSig ]
97- HRESULT SetFont ( ref LOGFONT plf ) ;
99+ HRESULT SetFont ( ref LOGFONTW plf ) ;
98100 [ PreserveSig ]
99101 HRESULT SetTextColor ( uint color ) ;
100102 }
@@ -488,7 +490,7 @@ public bool SetForeground(Color color)
488490 /// </summary>
489491 /// <param name="font">The LogFontW reference.</param>
490492 /// <returns>Whether the call succeeds.</returns>
491- public bool SetFont ( ref LOGFONT font )
493+ public bool SetFont ( ref LOGFONTW font )
492494 {
493495 var hr = visuals ? . SetFont ( ref font ) ;
494496 return hr . HasValue && ( int ) hr . Value >= 0 ;
You can’t perform that action at this time.
0 commit comments