Fixed incorrect import attribute

pull/211/head
dahall 2020-12-26 10:19:51 -07:00
parent ee3fb03825
commit f57fa2af7f
1 changed files with 1 additions and 1 deletions

View File

@ -894,7 +894,7 @@ namespace Vanara.PInvoke
/// </remarks>
// https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms646914(v=vs.85)
// BOOL WINAPI ChooseFont( _Inout_ LPCHOOSEFONT lpcf );
[DllImport(Lib.comdlg32, SetLastError = false, CharSet = CharSet.Auto)]
[DllImport(Lib_ComDlg32, SetLastError = false, CharSet = CharSet.Auto)]
[PInvokeData("Commdlg.h")]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool ChooseFont(ref CHOOSEFONT lpcf);