Win32Interop
Win32Interop copied to clipboard
EnumWindowsProc returns int?
in the Microsoft.Win32.NativeMethods internal delegate bool EnumWindowsCallback(IntPtr hWnd, IntPtr lParam); it returens bool ture to goes deep, false to stop
but, int the namespace Win32Interop.Methods [UnmanagedFunctionPointer(CallingConvention.StdCall)] public delegate int EnumWindowsProc(IntPtr hwnd, IntPtr lParam); it returns int
then, how to use this?
BOOL TURE 1, FALSE 0, ERROR -1