26 lines
684 B
C#
26 lines
684 B
C#
namespace Standard
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)]
|
|
internal struct WNDCLASSEX
|
|
{
|
|
public int cbSize;
|
|
public Standard.CS style;
|
|
public Standard.WndProc lpfnWndProc;
|
|
public int cbClsExtra;
|
|
public int cbWndExtra;
|
|
public IntPtr hInstance;
|
|
public IntPtr hIcon;
|
|
public IntPtr hCursor;
|
|
public IntPtr hbrBackground;
|
|
[MarshalAs(UnmanagedType.LPWStr)]
|
|
public string lpszMenuName;
|
|
[MarshalAs(UnmanagedType.LPWStr)]
|
|
public string lpszClassName;
|
|
public IntPtr hIconSm;
|
|
}
|
|
}
|
|
|