Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
Fix EnumChildWindows lpEnumFunc pointer type
Browse files Browse the repository at this point in the history
  • Loading branch information
willibrandon committed Oct 28, 2022
1 parent 4624896 commit c6bbf5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/User32/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static extern PInvoke.User32.BringWindowToTop(System.IntPtr hWnd) -> bool
static extern PInvoke.User32.ChangeWindowMessageFilterEx(System.IntPtr hwnd, uint message, uint action, PInvoke.User32.CHANGEFILTERSTRUCT* pChangeFilterStruct) -> bool
static extern PInvoke.User32.DestroyIcon(System.IntPtr hIcon) -> int
static extern PInvoke.User32.GetIconInfo(System.IntPtr hIcon, PInvoke.User32.ICONINFO* piconinfo) -> bool
static extern PInvoke.User32.EnumChildWindows(System.IntPtr hWndParent, System.IntPtr lpEnumFunc, System.IntPtr lParam) -> bool
static extern PInvoke.User32.EnumChildWindows(System.IntPtr hWndParent, PInvoke.User32.WNDENUMPROC lpEnumFunc, System.IntPtr lParam) -> bool
static extern PInvoke.User32.EnumDisplayDevices(char* lpDevice, uint iDevNum, PInvoke.DISPLAY_DEVICE* lpDisplayDevice, PInvoke.User32.EnumDisplayDevicesFlags dwFlags) -> bool
static extern PInvoke.User32.EnumDisplaySettings(char* lpszDeviceName, uint iModeNum, PInvoke.DEVMODE* lpDevMode) -> bool
static extern PInvoke.User32.EnumDisplaySettingsEx(char* lpszDeviceName, uint iModeNum, PInvoke.DEVMODE* lpDevMode, PInvoke.User32.EnumDisplaySettingsExFlags dwFlags) -> bool
Expand Down
2 changes: 1 addition & 1 deletion src/User32/User32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4059,7 +4059,7 @@ public static partial class User32
/// </remarks>
[DllImport("User32", ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool EnumChildWindows(IntPtr hWndParent, IntPtr lpEnumFunc, IntPtr lParam);
public static extern bool EnumChildWindows(IntPtr hWndParent, WNDENUMPROC lpEnumFunc, IntPtr lParam);

/// <summary>
/// Retrieves the time of the last input event.
Expand Down

0 comments on commit c6bbf5b

Please sign in to comment.