cryptit.idl

来自「用于加解密的源码」· IDL 代码 · 共 54 行

IDL
54
字号
// CryptIt.idl : IDL source for CryptIt.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(3F0C2D81-2187-11D4-9F74-00805F9B812F),
		dual,
		helpstring("ICryptor Interface"),
		pointer_default(unique)
	]
	interface ICryptor : IDispatch
	{
		[propput, id(1), helpstring("property PassPhrase")] HRESULT PassPhrase([in] BSTR newVal);
		[propput, id(2), helpstring("property StringToCrypt")] HRESULT StringToCrypt([in] BSTR newVal);
		[propget, id(3), helpstring("property ReturnCrypted")] HRESULT ReturnCrypted([out, retval] BSTR *pVal);
		[id(4), helpstring("method DoCrypting")] HRESULT DoCrypting();
	};

[
	uuid(3F0C2D73-2187-11D4-9F74-00805F9B812F),
	version(1.0),
	helpstring("CryptIt 1.0 Type Library")
]
library CRYPTITLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(3F0C2D83-2187-11D4-9F74-00805F9B812F),
		helpstring("_ICryptorEvents Interface")
	]
	dispinterface _ICryptorEvents
	{
		properties:
		methods:
	};

	[
		uuid(3F0C2D82-2187-11D4-9F74-00805F9B812F),
		helpstring("Cryptor Class")
	]
	coclass Cryptor
	{
		[default] interface ICryptor;
		[default, source] dispinterface _ICryptorEvents;
	};
};

⌨️ 快捷键说明

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