msg.java
来自「java 调用windows的api」· Java 代码 · 共 47 行
JAVA
47 行
//******************************************************************
// 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.io.*;
import java.io.*;
import java.util.*;
public class MSG {
public int hwnd;
public int message;
public int wParam;
public int lParam;
public int time;
public POINT pt = new POINT();
public static final String marshal = "28";
public void marshal(LittleEndianOutputStream leos, ArrayList objs)
throws IOException
{
leos.writeInt(hwnd);
leos.writeInt(message);
leos.writeInt(wParam);
leos.writeInt(lParam);
leos.writeInt(time);
pt.marshal(leos, objs);
}
public void marshalOut(LittleEndianInputStream leis, ArrayList objs)
throws IOException
{
hwnd = leis.readInt();
message = leis.readInt();
wParam = leis.readInt();
lParam = leis.readInt();
time = leis.readInt();
pt.marshalOut(leis, objs);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?