WNDCLASSEX (Structures)
Last changed: Doron Guttman-155.188.247.25

.
Summary

C# Definition:

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

VB Definition:

<StructLayout(LayoutKind.Sequential, CharSet := CharSet.Auto)> _
Structure WNDCLASSEX  
   <MarshalAs(UmanagedType.U4)> Public cbSize As Integer
   <MarshalAs(UmanagedType.U4)> Public style As Integer
   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
   Public lpszMenuName As String
   Public lpszClassName As String
   Public hIconSm As IntPtr
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
WNDCLASSEX @msdn on MSDN