vtabledirecttest.java
来自「java 调用windows的api」· Java 代码 · 共 38 行
JAVA
38 行
/*
* VtableDirectTest.java -
*
* This file is part of the Jawin Project: http://jawinproject.sourceforge.net/
*
* Please consult the LICENSE file in the project root directory,
* or at the project site before using this software.
*/
/* $Id: VtableDirectTest.java,v 1.2 2004/07/18 15:12:35 arosii_moa Exp $ */
package org.jawin;
import org.jawin.win32.COINIT;
/**
* Vtable test.
*
* @version $Revision: 1.2 $
* @author Morten Andersen, arosii_moa (at) users.sourceforge.net
*/
public class VtableDirectTest extends VtableTestBase {
protected IDualTestItf initCOMPtr() throws COMException {
return new IDualTestItf(DUAL_TEST_CLSID);
}
protected void closeCOMPtr(IDualTestItf itf) throws COMException {
if (itf != null) {
itf.close();
}
}
protected COINIT getThreadModel() {
return COINIT.APARTMENTTHREADED;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?