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

📄 cryptoproj.idl

📁 简单的加解密 希望大家多指教 我也是刚学 还有很多都不会 希望通过大家的帮助来加强学习
💻 IDL
字号:
// CryptoProj.idl : IDL source for CryptoProj.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(31D4E70B-1F1E-4E1C-B0D4-4C926323CDAF),
		dual,
		helpstring("ICrypto Interface"),
		pointer_default(unique)
	]
	interface ICrypto : IDispatch
	{
		[id(1), helpstring("method Encrypt")] HRESULT Encrypt([in] BSTR bstrPlainText, [in] BSTR bstrPassword, [out, retval] VARIANT *vCipherText);
		[id(2), helpstring("method Decrypt")] HRESULT Decrypt([in] VARIANT vCipherText, [in] BSTR bstrPassword, [out, retval] BSTR *bstrPlainText);
	};

[
	uuid(948A720C-5669-4B77-86B2-C77653C51647),
	version(1.0),
	helpstring("CryptoProj 1.0 Type Library")
]
library CRYPTOPROJLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(F5F95606-B67C-4FFB-AF5A-17F51A35E5D0),
		helpstring("Crypto Class")
	]
	coclass Crypto
	{
		[default] interface ICrypto;
	};
};

⌨️ 快捷键说明

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