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

📄 mycompanysalary.idl

📁 【内容简介】 本书由一流的权威撰写
💻 IDL
字号:
// MyCompanySalary.idl : IDL source for MyCompanySalary.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	
	[
		object,
		uuid(0583EB7A-164F-428E-8D6F-D282283B30A0),
		dual,
		helpstring("IEmployeeSalary Interface"),
		pointer_default(unique)
	]
	interface IEmployeeSalary : IDispatch
	{
		HRESULT GetSalary([in] BSTR bsEmployeeName, [out, retval] long *pVal);
		HRESULT UpdateSalary([in] BSTR bsEmployeeName, [in] long newVal);
	};

[
	uuid(D59E8AAC-856C-417E-8DBD-A2791B0D2F76),
	version(1.0),
	helpstring("MyCompanySalary 1.0 Type Library")
]
library MYCOMPANYSALARYLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	
	[
		uuid(0D30370A-3D41-4C78-92DA-0EB66A6EB08E),
		helpstring("EmployeeSalary Class")
	]
	coclass EmployeeSalary
	{
		[default] interface IEmployeeSalary;
	};
};

⌨️ 快捷键说明

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