这是一本学习 window编程的很好的参考教材
源代码在线查看: _shellext2.idl
import "E:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\prsht.idl";
import "E:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\mshtml.idl";
import "e:\program files\microsoft visual studio .net 2003\vc7\platformsdk\include\dimm.idl";
import "E:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\mshtmhst.idl";
import "e:\program files\microsoft visual studio .net 2003\vc7\platformsdk\include\docobj.idl";
import "E:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\exdisp.idl";
import "E:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\objsafe.idl";
import "E:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\shldisp.idl";
import "E:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\include\shobjidl.idl";
import "e:\program files\microsoft visual studio .net 2003\vc7\platformsdk\include\prsht.idl";
[
object,
uuid(91530F96-C3BE-4C62-8335-92D2F1327B83),
dual,
helpstring("ICopyFileName Interface"),
pointer_default(unique)
]
#line 18 "c:\\shellext2\\copyfilename.h"
interface ICopyFileName : IDispatch {
};
[ version(1.0), uuid(76E3F5DB-E388-4309-87B6-B316D1B414D8), helpstring("ShellExt2 1.0 Type Library") ]
library ShellExt2
{
importlib("stdole2.tlb");
importlib("olepro32.dll");
[
version(1.0),
uuid(52F96297-B319-4335-BA9D-79C4B7BE18DC),
helpstring("CopyFileName Class")
]
#line 35 "c:\\shellext2\\copyfilename.h"
coclass CCopyFileName {
interface ICopyFileName;
};
}