?? securestorage.idl
字號:
// SecureStorage.idl : IDL source for SecureStorage.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (SecureStorage.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(20BFEDAD-0B44-47D8-87F4-A3338AC6228B),
dual,
helpstring("ISecure Interface"),
pointer_default(unique)
]
interface ISecure : IDispatch
{
[id(1), helpstring("method Encrypt")] HRESULT Encrypt([in] BSTR key, [in] BSTR value, [out,retval] BSTR * cipher);
[id(2), helpstring("method Decrypt")] HRESULT Decrypt([in] BSTR key, [in] BSTR cipher, [out,retval] BSTR * clearText);
[propget, id(3), helpstring("property RegistryKey")] HRESULT RegistryKey([out, retval] BSTR *pVal);
[propput, id(3), helpstring("property RegistryKey")] HRESULT RegistryKey([in] BSTR newVal);
[id(4), helpstring("method EncryptToRegistry")] HRESULT EncryptToRegistry([in] BSTR key, [in] BSTR name, [in] BSTR value);
[id(5), helpstring("method DecryptFromRegistry")] HRESULT DecryptFromRegistry([in] BSTR key, [in] BSTR name, [out, retval] BSTR * value);
};
[
uuid(AC7E2C74-E0FB-4208-83BC-1138D90728A4),
version(1.0),
helpstring("SecureStorage 1.0 Type Library")
]
library SECURESTORAGELib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(96AFE057-ACE7-4EFF-A807-9441BB126E2E),
helpstring("Secure Class")
]
coclass Secure
{
[default] interface ISecure;
};
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -