这是一本学习 window编程的很好的参考教材
源代码在线查看: shellhook.idl
// ShellHook.idl : IDL source for ShellHook.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (ShellHook.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(FAEDB417-AFAA-423B-A00B-76498DB7F1D3),
dual,
helpstring("IIntercept Interface"),
pointer_default(unique)
]
interface IIntercept : IDispatch
{
};
[
uuid(89AC2DA9-482B-4AED-8B0B-66AED258412E),
version(1.0),
helpstring("ShellHook 1.0 Type Library")
]
library SHELLHOOKLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(197AB951-7F4F-41A2-B9F9-A9AE9BFBDEA3),
helpstring("Intercept Class")
]
coclass Intercept
{
[default] interface IIntercept;
};
};