亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ole.java

?? 源碼為Eclipse開源開發(fā)平臺桌面開發(fā)工具SWT的源代碼,
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
	public static final short VT_VERSIONED_STREAM = 73;	public static final short VT_BSTR_BLOB = 0xfff;	public static final short VT_VECTOR = 0x1000;	public static final short VT_ARRAY = 0x2000;	/* Ole Function Description Invoke Kind values */	public static final int INVOKE_FUNC = 1;	public static final int INVOKE_PROPERTYGET = 2;	public static final int INVOKE_PROPERTYPUT = 4;	public static final int INVOKE_PROPERTYPUTREF = 8;		/* Ole Function Description function kind */	public static final int FUNC_VIRTUAL = 0;	public static final int FUNC_PUREVIRTUAL = 1;	public static final int FUNC_NONVIRTUAL = 2;	public static final int FUNC_STATIC = 3;	public static final int FUNC_DISPATCH = 4;		/* Ole Function Description function flags */		public static final short FUNCFLAG_FRESTRICTED = 1;	public static final short FUNCFLAG_FSOURCE = 0x2;	public static final short FUNCFLAG_FBINDABLE = 0x4;	public static final short FUNCFLAG_FREQUESTEDIT = 0x8;	public static final short FUNCFLAG_FDISPLAYBIND = 0x10;	public static final short FUNCFLAG_FDEFAULTBIND = 0x20;  	public static final short FUNCFLAG_FHIDDEN = 0x40;	public static final short FUNCFLAG_FUSESGETLASTERROR = 0x80;	public static final short FUNCFLAG_FDEFAULTCOLLELEM = 0x100;	public static final short FUNCFLAG_FUIDEFAULT = 0x200;	public static final short FUNCFLAG_FNONBROWSABLE = 0x400;	public static final short FUNCFLAG_FREPLACEABLE = 0x800;	public static final short FUNCFLAG_FIMMEDIATEBIND = 0x1000;		/* Ole Function Description calling convention */	public static final int CC_FASTCALL = 0;	public static final int CC_CDECL = 1;	public static final int CC_MSCPASCAL = 2;	public static final int CC_PASCAL = 2;	public static final int CC_MACPASCAL = 3;	public static final int CC_STDCALL = 4;	public static final int CC_FPFASTCALL = 5;	public static final int CC_SYSCALL = 6;	public static final int CC_MPWCDECL = 7;	public static final int CC_MPWPASCAL = 8;	public static final int CC_MAX = 9;		static final String ERROR_NOT_IMPLEMENTED_MSG = "Required functionality not currently supported.";//$NON-NLS-1$	static final String ERROR_CANNOT_CREATE_FILE_MSG = "Failed to create file.";//$NON-NLS-1$	static final String ERROR_CANNOT_CREATE_OBJECT_MSG = "Failed to create Ole Client.";//$NON-NLS-1$	static final String ERROR_CANNOT_OPEN_FILE_MSG = "File does not exist, is not accessible to user or does not have the correct format.";//$NON-NLS-1$	static final String ERROR_INTERFACE_NOT_FOUND_MSG = "Failed to find requested interface on OLE Object.";//$NON-NLS-1$	static final String ERROR_INVALID_CLASSID_MSG = "Class ID not found in registry";//$NON-NLS-1$	static final String ERROR_CANNOT_ACCESS_CLASSFACTORY_MSG = "Failed to get the class factory for the specified classID";//$NON-NLS-1$	static final String ERROR_CANNOT_CREATE_LICENSED_OBJECT_MSG = "Failed to create Licensed instance";//$NON-NLS-1$	static final String ERROR_OUT_OF_MEMORY_MSG = "Out of Memory";//$NON-NLS-1$	static final String ERROR_CANNOT_CHANGE_VARIANT_TYPE_MSG = "Failed to change Variant type";//$NON-NLS-1$	static final String ERROR_INVALID_INTERFACE_ADDRESS_MSG = "Invalid address received for Ole Interface.";//$NON-NLS-1$	static final String ERROR_APPLICATION_NOT_FOUND_MSG = "Unable to find Application.";//$NON-NLS-1$	static final String ERROR_ACTION_NOT_PERFORMED_MSG = "Action can not be performed.";//$NON-NLS-1$public static void error (int code) {	error (code, 0);}public static void error (int code, int hresult) {			switch (code) {		/* Illegal Arguments (non-fatal) */		case ERROR_INVALID_INTERFACE_ADDRESS :{			throw new IllegalArgumentException (ERROR_INVALID_INTERFACE_ADDRESS_MSG);		}			/* SWT Errors (non-fatal) */		case ERROR_CANNOT_CREATE_FILE : {			String msg = ERROR_CANNOT_CREATE_FILE_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);		}		case ERROR_CANNOT_CREATE_OBJECT : {			String msg = ERROR_CANNOT_CREATE_OBJECT_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);//$NON-NLS-1$		}		case ERROR_CANNOT_OPEN_FILE : {			String msg = ERROR_CANNOT_OPEN_FILE_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);		}		case ERROR_INTERFACE_NOT_FOUND : {			String msg = ERROR_INTERFACE_NOT_FOUND_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);		}		case ERROR_INVALID_CLASSID : {			String msg = ERROR_INVALID_CLASSID_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);		}		case ERROR_CANNOT_ACCESS_CLASSFACTORY : {			String msg = ERROR_CANNOT_ACCESS_CLASSFACTORY_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);		}		case ERROR_CANNOT_CREATE_LICENSED_OBJECT : {			String msg = ERROR_CANNOT_CREATE_LICENSED_OBJECT_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);		}		case ERROR_CANNOT_CHANGE_VARIANT_TYPE : {			String msg = ERROR_CANNOT_CHANGE_VARIANT_TYPE_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);		}		case ERROR_APPLICATION_NOT_FOUND : {			String msg = ERROR_APPLICATION_NOT_FOUND_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);		}		case ERROR_ACTION_NOT_PERFORMED : {			String msg = ERROR_ACTION_NOT_PERFORMED_MSG;			if (hresult != 0) msg += " result = "+hresult;//$NON-NLS-1$			throw new SWTException (code, msg);		}				/* OS Failure/Limit (fatal, may occur only on some platforms) */		case ERROR_OUT_OF_MEMORY : {			String msg = ERROR_ACTION_NOT_PERFORMED_MSG;			if (hresult != 0) msg += " result = "+hresult; //$NON-NLS-1$			throw new SWTError (code, msg);		}	}				/* Unknown/Undefined Error */	SWT.error(code);}/* * Finds the OLE program id that is associated with an extension. * The extension may or may not begin with a '.'.  On platforms * that do not support OLE, an empty string is returned. * * @param extension the program extension * @return a string that is the OLE program id or an empty string * * @exception SWTError <ul> *		<li>ERROR_NULL_ARGUMENT when extension is null</li> *	</ul> */public static String findProgramID (String extension) {	if (extension == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	if (extension.length () == 0) return ""; //$NON-NLS-1$		if (extension.charAt (0) != '.') extension = "." + extension; //$NON-NLS-1$	/* Use the character encoding for the default locale */	TCHAR extensionKey = new TCHAR(0, extension, true);	String result = getKeyValue(extensionKey);	if (result != null) {		// look for "<programID>\NotInsertable"		TCHAR notInsertableKey = new TCHAR(0, result+"\\NotInsertable", true); //$NON-NLS-1$		if (getKeyExists(notInsertableKey)) return ""; //$NON-NLS-1$		// look for "<programID>\Insertable"		TCHAR insertableKey = new TCHAR(0, result+"\\Insertable", true); //$NON-NLS-1$		if (getKeyExists(insertableKey)) return result;		// look for "<programID>\protocol\StdFileEditing\server"		TCHAR serverKey = new TCHAR(0, result+"\\protocol\\StdFileEditing\\server", true); //$NON-NLS-1$		if (getKeyExists(serverKey)) return result;	}		return ""; //$NON-NLS-1$}static String getKeyValue (TCHAR key) {	int [] phkResult = new int [1];	if (OS.RegOpenKeyEx (OS.HKEY_CLASSES_ROOT, key, 0, OS.KEY_READ, phkResult) != 0) {		return null;	}	String result = null;	int [] lpcbData = new int [1];	if (OS.RegQueryValueEx (phkResult [0], (TCHAR) null, 0, null, null, lpcbData) == 0) {		int length = lpcbData [0] / TCHAR.sizeof;		if (length == 0) {			result = "";		} else {			/* Use the character encoding for the default locale */			TCHAR lpData = new TCHAR (0, length);			if (OS.RegQueryValueEx (phkResult [0], null, 0, null, lpData, lpcbData) == 0) {				length = Math.max(0, lpData.length () - 1);				result = lpData.toString (0, length);			}		}	}	if (phkResult [0] != 0) OS.RegCloseKey (phkResult [0]);	return result;}private static boolean getKeyExists (TCHAR key) {	int [] phkResult = new int [1];	if (OS.RegOpenKeyEx (OS.HKEY_CLASSES_ROOT, key, 0, OS.KEY_READ, phkResult) != 0) {		return false;	}	if (phkResult [0] != 0) OS.RegCloseKey (phkResult [0]);	return true;}/** * Returns true if the specified file has an OLE Storage format. * * Note all empty files (regardless of extension) will return false. * * @param file the file to be checked * * @return true if this file has an OLE Storage format */public static boolean isOleFile(File file) {	if (file == null || !file.exists() || file.isDirectory())		return false;	return (COM.StgIsStorageFile((file.getAbsolutePath()+"\0").toCharArray()) == COM.S_OK);}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美α欧美αv大片| 国产欧美精品日韩区二区麻豆天美 | 91浏览器打开| 日本一不卡视频| 午夜久久久久久久久久一区二区| 26uuu久久天堂性欧美| 在线视频一区二区三区| 国产一区二区女| 视频一区视频二区中文| 亚洲男人的天堂在线观看| 亚洲精品一区二区在线观看| 欧美日韩久久久一区| 白白色亚洲国产精品| 国内精品久久久久影院薰衣草| 一区二区免费在线| 中文字幕中文字幕一区二区 | 欧美va亚洲va| 欧美日韩视频在线一区二区| 91丨九色丨国产丨porny| 国产精品一区二区果冻传媒| 首页国产欧美久久| 一区二区三区四区五区视频在线观看 | 欧美色综合影院| av激情亚洲男人天堂| 国产91精品免费| 国产麻豆午夜三级精品| 精品一区在线看| 亚洲电影在线免费观看| 亚洲精品午夜久久久| 日韩一区在线看| 亚洲三级理论片| 中文字幕在线观看一区二区| 中文字幕av一区二区三区高| 国产性色一区二区| 精品国精品自拍自在线| 精品女同一区二区| 精品1区2区在线观看| 久久久久国产精品人| 久久久国产精品午夜一区ai换脸| 久久久亚洲午夜电影| 久久―日本道色综合久久| 国产亚洲制服色| 日本一二三不卡| 亚洲三级在线免费| 一级做a爱片久久| 午夜精品免费在线| 日韩黄色在线观看| 久久99久久久久| 激情国产一区二区| 国产91清纯白嫩初高中在线观看| 国产91露脸合集magnet| 91污片在线观看| 色综合久久66| 欧美剧情片在线观看| 91麻豆精品国产无毒不卡在线观看| 欧美一区二区三区免费观看视频 | 精品一区二区三区免费观看| 久久99精品国产麻豆婷婷洗澡| 激情六月婷婷久久| 北条麻妃国产九九精品视频| 精品国产91久久久久久久妲己| 久久这里只精品最新地址| 国产日产欧美一区| 亚洲男人的天堂在线观看| 婷婷中文字幕一区三区| 久久99久久精品欧美| av午夜精品一区二区三区| 欧美色男人天堂| 久久色视频免费观看| 中文字幕视频一区二区三区久| 亚洲图片自拍偷拍| 久久精品国产久精国产| 成人免费黄色大片| 在线免费观看不卡av| 精品成a人在线观看| 日韩毛片精品高清免费| 日本欧美一区二区三区乱码| 国产成人午夜高潮毛片| 欧美午夜一区二区| 久久网这里都是精品| 又紧又大又爽精品一区二区| 毛片基地黄久久久久久天堂| av网站一区二区三区| 日韩欧美高清一区| 亚洲色欲色欲www| 久久精品理论片| 91视频在线观看| 精品精品国产高清一毛片一天堂| 亚洲欧美一区二区三区国产精品 | 成人午夜大片免费观看| 欧美日韩视频在线一区二区| 欧美国产日韩精品免费观看| 日韩精品电影在线| 91免费在线视频观看| 精品美女一区二区三区| 亚洲成人资源在线| www.亚洲色图| 精品久久五月天| 久久综合成人精品亚洲另类欧美| 色综合欧美在线视频区| 日韩女优毛片在线| 亚洲精品免费播放| 国产久卡久卡久卡久卡视频精品| 欧美视频你懂的| 中文字幕一区二区视频| 国产乱子伦视频一区二区三区| 欧美日韩精品三区| 亚洲手机成人高清视频| 国产成人啪午夜精品网站男同| 欧美日本国产一区| 夜色激情一区二区| 成人黄色免费短视频| 久久亚洲捆绑美女| 免费高清在线一区| 欧美精品三级日韩久久| 一区二区激情视频| 成人aaaa免费全部观看| 久久青草国产手机看片福利盒子| 爽好久久久欧美精品| 欧美亚洲高清一区| 亚洲另类色综合网站| 成人精品国产福利| 国产欧美日韩卡一| 国产制服丝袜一区| 精品免费视频.| 成人理论电影网| 国产欧美日韩综合精品一区二区| 久久精品免费看| 日韩欧美在线网站| 午夜电影一区二区三区| 欧美日韩电影一区| 亚洲高清免费在线| 欧美日韩一级二级| 亚洲国产精品一区二区久久恐怖片| 色综合久久久久综合| 亚洲婷婷在线视频| 色老头久久综合| 亚洲综合激情网| 欧美丝袜丝交足nylons图片| 一区av在线播放| 欧美久久久久久蜜桃| 日韩二区三区四区| 欧美电视剧在线看免费| 久久www免费人成看片高清| 日韩精品专区在线| 国产一区在线看| 国产精品久久综合| 色欧美片视频在线观看在线视频| 亚洲精品免费一二三区| 欧美日韩国产综合久久| 日韩精品色哟哟| 2020国产成人综合网| 丰满少妇在线播放bd日韩电影| 国产精品嫩草影院av蜜臀| 91在线你懂得| 午夜精品福利视频网站| 欧美一级黄色大片| 国产伦精品一区二区三区免费迷| 久久久青草青青国产亚洲免观| 懂色av一区二区三区蜜臀| 亚洲婷婷综合色高清在线| 欧美视频一区二| 激情图区综合网| 亚洲三级在线免费观看| 欧美一区二区视频在线观看| 国产乱国产乱300精品| 亚洲精选一二三| 日韩精品一区二区三区视频播放| 国产激情精品久久久第一区二区 | 亚洲国产精品一区二区久久恐怖片 | 亚洲在线免费播放| 91麻豆精品国产91久久久资源速度| 国内精品免费**视频| 亚洲裸体xxx| 欧美一二三四区在线| 成人深夜福利app| 五月激情综合网| 国产欧美精品国产国产专区| 欧美无砖专区一中文字| 国产资源在线一区| 亚洲国产精品影院| 久久嫩草精品久久久久| 欧美在线三级电影| 国产精品一级片在线观看| 亚洲精品视频一区二区| 欧美精品一区二区三区很污很色的 | 国产91精品精华液一区二区三区| 亚洲成人激情社区| 国产人成亚洲第一网站在线播放| 欧美午夜寂寞影院| 成人综合日日夜夜| 免费人成在线不卡| 亚洲人成亚洲人成在线观看图片| 精品毛片乱码1区2区3区| www精品美女久久久tv| 色爱区综合激月婷婷| 国产成人精品综合在线观看| 日韩电影在线观看电影| 国产精品久久久久久久久动漫| 精品久久久网站|