GetTopWindow (user32)
Last changed: -199.203.190.21

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern IntPtr GetTopWindow(IntPtr hWnd);

vb.net Signature:

<DllImport("USER32.dll")> Public Shared Function GetTopWindow (ByVal hwnd As IntPtr) As IntPtr
End Function  

Private Declare Function GetTopWindow Lib "user32.dll" (ByVal hwnd As IntPtr) As IntPtr

User-Defined Types:

None.

Notes:

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-gettopwindow

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation