srccount.idl

来自「在 Windows 的资源管理器窗口中」· IDL 代码 · 共 41 行

IDL
41
字号
// SrcCount.idl : IDL source for SrcCount.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(30BFC928-3209-49A5-A618-1092B4DE7005),
		dual,
		helpstring("ICountLines Interface"),
		pointer_default(unique)
	]
	interface ICountLines : IDispatch
	{
		[id(1), helpstring("method GetFolderLines")] HRESULT GetFolderLines([in]BSTR *pFolderPath, [out]int *lines);
		[id(2), helpstring("method GetFileLines")] HRESULT GetFileLines([in]BSTR *pFilePath, [out]int *lines);
	};

[
	uuid(461E6A6B-0D36-4689-808F-8DE0C961C16B),
	version(1.0),
	helpstring("SrcCount 1.0 Type Library")
]
library SRCCOUNTLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(548773BA-874E-4C02-9DC7-B7A096772C7D),
		helpstring("CountLines Class")
	]
	coclass CountLines
	{
		[default] interface ICountLines;
	};
};

⌨️ 快捷键说明

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