📄 surfhelp.idl
字号:
// SurfHelp.idl : IDL source for SurfHelp.exe
//
// This file will be processed by the MIDL tool to
// produce the type library (SurfHelp.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(A34DB9AE-99F3-43C9-B9E8-BAE92DA297D0),
dual,
helpstring("ISurfManager Interface"),
pointer_default(unique)
]
interface ISurfManager : IDispatch
{
[id(1), helpstring("method GetSettings")]
HRESULT GetSettings([retval, out] long* plSettings);
[id(2), helpstring("method GetWindowSizeThreshold")]
HRESULT GetWindowSizeThreshold([retval, out] long* plThreshold);
[id(3), helpstring("method CheckTitle")]
HRESULT CheckTitle([in] BSTR bstrTitle,
[in] BSTR bstrUrl,
[retval, out] BOOL* pbKill);
[id(4), helpstring("method CheckUrl")]
HRESULT CheckUrl([in] BSTR bstrTitle,
[in] BSTR bstrUrl,
[retval, out] BOOL* pbKill);
[id(5), helpstring("method CheckSize")]
HRESULT CheckSize([in] BSTR bstrTitle,
[in] BSTR bstrUrl,
[in] long lWidth,
[in] long lHeight,
[retval, out] BOOL* pbKill);
};
[
uuid(4691AE28-5A26-46D8-8437-82A5F4F4868C),
version(1.0),
helpstring("SurfHelp 1.0 Type Library")
]
library SURFHELPLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(86F6549F-71FD-4BAF-BD26-82A8F57E0BC8),
helpstring("SurfManager Class")
]
coclass SurfManager
{
[default] interface ISurfManager;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -