WNDCLASS (Structures)
Last changed: jnm2-74.212.46.188

.
Summary
The WNDCLASS structure contains the window class attributes that are registered by the RegisterClass function. This structure has been superseded by the WNDCLASSEX structure used with the RegisterClassEx function. You can still use WNDCLASS and RegisterClass if you do not need to set the small icon associated with the window class.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct WNDCLASS {
   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;
}

User-Defined Field Types:

None.

Notes:

Documentation
WNDCLASS on MSDN