📄 wapbase64.idl
字号:
/**********************************************************************
Quiet Night工作室全力奉献 作者:周磊 若有问题请联系QQ:75297662
请保留此段,尊重作者
***********************************************************************/
#include "olectl.h"
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(63C4CD8E-21C1-4634-9F7F-49A23525B108),
dual,
nonextensible,
helpstring("IBase64 接口"),
pointer_default(unique)
]
interface IBase64 : IDispatch{
[propget, id(1), helpstring("属性 EnCode")] HRESULT EnCode([out, retval] BSTR* pVal);
[propput, id(1), helpstring("属性 EnCode")] HRESULT EnCode([in] BSTR newVal);
[propget, id(2), helpstring("属性 DeCode")] HRESULT DeCode([out, retval] BSTR* pVal);
[propput, id(2), helpstring("属性 DeCode")] HRESULT DeCode([in] BSTR newVal);
[id(3), helpstring("方法DeCode64")] HRESULT DeCode64(BSTR str);
[id(4), helpstring("方法EnCode64")] HRESULT EnCode64(BSTR str);
};
[
uuid(5F55E249-37F8-4B96-B5CC-5E97C02CFF13),
version(1.0),
helpstring("WapBase64 1.0 类型库")
]
library WapBase64Lib
{
importlib("stdole2.tlb");
[
uuid(2802F528-1938-4464-B46C-F629C93ECE62),
helpstring("_IBase64事件接口")
]
dispinterface _IBase64Events
{
properties:
methods:
[id(1), helpstring("方法En")] BSTR En(BSTR str);
};
[
uuid(09C9F46E-66F8-4409-816E-D5123103A9F4),
helpstring("Base64 Class")
]
coclass Base64
{
[default] interface IBase64;
[default, source] dispinterface _IBase64Events;
};
[
uuid(FB2EEC0A-EC9D-4207-AFEE-5EF30F4E5F0D),
helpstring("CBase64Prop Class")
]
coclass CBase64Prop
{
[default] interface IUnknown;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -