getsn.idl

来自「某CA中心电子签章插件(.dll)」· IDL 代码 · 共 60 行

IDL
60
字号
// GetSN.idl : IDL source for GetSN.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(2CC48E72-79A3-4CA4-A42C-F2DAFF127E67),
		dual,
		helpstring("IGetSerNum_Name Interface"),
		pointer_default(unique)
	]
	interface IGetSerNum_Name : IDispatch
	{
		[id(1), helpstring("method GetSNMethod")] HRESULT GetSNMethod([in]BSTR certctrl,[out,retval]BSTR* rev);
	};
	[
		object,
		uuid(898E6FCA-212D-4728-82E9-0E4F6C6FBDE9),
		dual,
		helpstring("IGetISN Interface"),
		pointer_default(unique)
	]
	interface IGetISN : IDispatch
	{
		[id(1), helpstring("method GetISNMethod")] HRESULT GetISNMethod([in]BSTR certctrl,[out,retval]BSTR* rev);
		[propget, id(2), helpstring("property SerNum")] HRESULT SerNum([out, retval] BSTR *pVal);
	};

[
	uuid(C53DDC74-4A08-4C70-B7CF-B77DEB2656AE),
	version(1.0),
	helpstring("GetSN 1.0 Type Library")
]
library GETSNLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(14A3C7C3-05B6-44C5-8122-FA163BEFD8E8),
		helpstring("GetSerNum_Name Class")
	]
	coclass GetSerNum_Name
	{
		[default] interface IGetSerNum_Name;
	};
	[
		uuid(A683BD14-5565-4334-96AF-984CE9429AFA),
		helpstring("GetISN Class")
	]
	coclass GetISN
	{
		[default] interface IGetISN;
	};
};

⌨️ 快捷键说明

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