📄 cryptit.idl
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -