⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myceserver.idl

📁 Wince权威指南之配套光盘
💻 IDL
字号:
// MyCeServer.idl : IDL source for MyCeServer.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (MyCeServer.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(85093D3C-B3BE-4F38-AEAD-521AADCA2498),
		dual,
		helpstring("ITestMe Interface"),
		pointer_default(unique)
	]
	interface ITestMe : IDispatch
	{
		[id(1), helpstring("method ShowMe")] HRESULT ShowMe([out,retval]short *nVal);
		[propget, id(2), helpstring("property AboutText")] HRESULT AboutText([out, retval] BSTR *pVal);
		[propput, id(2), helpstring("property AboutText")] HRESULT AboutText([in] BSTR newVal);
	};

[
	uuid(E792771A-DD86-489F-842A-35304CC379AB),
	version(1.0),
	helpstring("MyCeServer 1.0 Type Library")
]
library MYCESERVERLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(B1D58504-A803-450C-B502-3CBA0CB7F86E),
		helpstring("TestMe Class")
	]
	coclass TestMe
	{
		[default] interface ITestMe;
	};
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -