WNDCLASSEX (Structures)
Last changed: Doron Guttman-155.188.247.25

.
Summary

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct WNDCLASSEX
{
   public uint cbSize;
   public uint style;
   [MarshalAs(UnmanagedType.FunctionPtr)]
   public WndProc lpfnWndProc;
   public int cbClsExtra;
   public int cbWndExtra;
   public IntPtr hInstance;
   public IntPtr hIcon;
   public IntPtr hCursor;
   public IntPtr hbrBackground;
   [MarshalAs(UnmanagedType.LPTStr)]
   public string lpszMenuName;
   [MarshalAs(UnmanagedType.LPTStr)]
   public string lpszClassName;
   public IntPtr hIconSm;
}

VB Definition:

<StructLayout(LayoutKind.Sequential)> _
Structure WNDCLASSEX
   Public cbSize As UInt32
   Public style As UInt32
   <MarshalAs(UnmanagedType.FunctionPtr)>
   Public lpfnWndProc As WndProc
   Public cbClsExtra As Integer
   Public cbWndExtra As Integer
   Public hInstance As IntPtr
   Public hIcon As IntPtr
   Public hCursor As IntPtr
   Public hbrBackground As IntPtr
   <MarshalAs(UnmanagedType.LPTStr)>
   Public lpszMenuName As String
   <MarshalAs(UnmanagedType.LPTStr)>
   Public lpszClassName As String
   Public hIconSm As IntPtr
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
WNDCLASSEX @msdn on MSDN