Changed PHANDLER_ROUTINE return value to BOOL

pull/21/head
David Hall 2018-08-30 16:05:39 -06:00
parent ff50e8d23d
commit 6dd91de7c4
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ namespace Vanara.PInvoke
/// If the function handles the control signal, it should return TRUE (1). If it returns FALSE (0), the next handler function in the list of handlers for
/// this process is used.
/// </returns>
public delegate int PHANDLER_ROUTINE(CTRL_EVENT CtrlType);
[return: MarshalAs(UnmanagedType.Bool)]
public delegate bool PHANDLER_ROUTINE(CTRL_EVENT CtrlType);
[Flags]
public enum CHARACTER_ATTRIBUTE : ushort