📄 wshmore.idl
字号:
// WshMore.idl : IDL source for WshMore.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (WshMore.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(E882458D-7D46-11D2-9DAF-00104B4C822A),
dual,
helpstring("IWshFun Interface"),
pointer_default(unique)
]
interface IWshFun : IDispatch
{
[id(1), helpstring("method CopyText")] HRESULT CopyText([in] BSTR bText);
[id(2), helpstring("method PasteText")] HRESULT PasteText([out, retval] BSTR* pbRetVal);
[id(3), helpstring("method FormatDrive")] HRESULT FormatDrive([in] int iDrive);
[id(4), helpstring("method BrowseForIcon")] HRESULT BrowseForIcon([in] BSTR bFile, [out, retval] BSTR* pbRetVal);
[id(5), helpstring("method FindFirstKey")] HRESULT FindFirstKey([in] long hk, [in] BSTR bRegPath, [out, retval] BSTR* pbRetVal);
[id(6), helpstring("method FindNextKey")] HRESULT FindNextKey([out, retval] BSTR* pbRetVal);
[id(7), helpstring("method FindFirstValue")] HRESULT FindFirstValue([in] long hk, [in] BSTR bRegPath, [out, retval] BSTR* pbRetVal);
[id(8), helpstring("method FindNextValue")] HRESULT FindNextValue([out, retval] BSTR* pbRetVal);
[id(9), helpstring("method AddExecuteHook")] HRESULT AddExecuteHook([in] BSTR bShortcut, [in] BSTR bExeFile);
};
[
uuid(E8824581-7D46-11D2-9DAF-00104B4C822A),
version(1.0),
helpstring("WshMore 1.0 Type Library")
]
library WSHMORELib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(E882458E-7D46-11D2-9DAF-00104B4C822A),
helpstring("WshFun Class")
]
coclass WshFun
{
[default] interface IWshFun;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -