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

📄 server.idl

📁 inside com的源代码
💻 IDL
字号:
//
// Server.idl - IDL source for Server.dll
//
// This file will be processed by the MIDL compiler to
// produce the type library (Server.tlb) and marshaling code.
//

// Interface IX
[
	object,
	uuid(32BB8326-B41B-11CF-A6BB-0080C7B2D682),
	helpstring("IX Interface"),
	pointer_default(unique),
	dual,
	oleautomation
]
interface IX : IDispatch
{
	import "oaidl.idl" ;

	HRESULT Fx() ;
	HRESULT FxStringIn([in] BSTR bstrIn) ; 
	HRESULT FxStringOut([out, retval] BSTR* pbstrOut) ; 
	HRESULT FxFakeError() ;
} ;

//
// Component and type library descriptions
//
[
	uuid(D3011EE1-B997-11CF-A6BB-0080C7B2D682),
	version(1.0),
	helpstring("Inside COM, Chapter 11 1.0 Type Library")
]
library ServerLib
{
	importlib("stdole32.tlb") ;

	// Component
	[
		uuid(0C092C2C-882C-11CF-A6BB-0080C7B2D682),
		helpstring("Component Class")
	]
	coclass Component
	{
		[default] interface IX ;
	} ;
} ;

⌨️ 快捷键说明

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