📄 wndclass.java
字号:
//******************************************************************
// Released under the DevelopMentor OpenSource Software License.
// Please consult the LICENSE file in the project root directory,
// or at http://www.develop.com for details before using this
// software.
//******************************************************************
package org.jawin.donated.win32;
import org.jawin.marshal.*;
import org.jawin.io.*;
import java.io.*;
import java.util.*;
public class WNDCLASS {
public int style;
public WNDPROC lpfnWndProc;
public int cbClsExtra;
public int cbWndExtra;
public int hInstance;
public int hIcon;
public int hCursor;
public int hbrBackground;
public String lpszMenuName;
public String lpszClassName;
public static final String marshal = "40kT2." + WNDPROC.token + "kkkkkkGG";
public static final int token = GenericStub.registerCustomString(marshal);
public void marshal(LittleEndianOutputStream leos, ArrayList objs)
throws IOException
{
//top-level args
leos.writeInt(style);
leos.writeInt(0);
int objIndex = objs.size();
objs.add(lpfnWndProc);
leos.writeInt(cbClsExtra);
leos.writeInt(cbWndExtra);
leos.writeInt(hInstance);
leos.writeInt(hIcon);
leos.writeInt(hCursor);
leos.writeInt(hbrBackground);
leos.writeZeroBytes(8);
//nested args
leos.writeInt(objIndex);
leos.writeStringUnicode(lpszMenuName);
leos.writeStringUnicode(lpszClassName);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -