Win32Interop icon indicating copy to clipboard operation
Win32Interop copied to clipboard

EnumWindowsProc returns int?

Open xjfhgkjzyxy opened this issue 11 years ago • 1 comments

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?

xjfhgkjzyxy avatar Oct 24 '13 02:10 xjfhgkjzyxy

BOOL TURE 1, FALSE 0, ERROR -1

xjfhgkjzyxy avatar Oct 24 '13 02:10 xjfhgkjzyxy