windows-nt/Source/XPSP1/NT/shell/tools/extwiz/template/shellext.idl

71 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
// ShellExtensions.idl : IDL source for $$root$$.dll
//
// This file will be processed by the MIDL tool to
// produce the type library ($$root$$.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
import "shlobj.idl";
[
uuid($$LibGUID$$),
version(1.0),
helpstring("$$root$$ 1.0 Type Library")
]
library $$root$$Lib
{
importlib("stdole2.tlb");
$$IF(Icon)
[
uuid($$IconGUID$$),
helpstring("$$ClassType$$EI Class")
]
coclass $$ClassType$$EI
{
#ifdef UNICODE
[default] interface IExtractIconW;
#else
[default] interface IExtractIconA;
#endif
};
$$ENDIF
$$IF(IContextMenu)
[
uuid($$ContextMenuGUID$$),
helpstring("$$ClassType$$CM Class")
]
coclass $$ClassType$$CM
{
[default] interface IContextMenu;
interface IShellExtInit;
};
$$ENDIF
$$IF(PropertySheet)
[
uuid($$PropertySheetGUID$$),
helpstring("$$ClassType$$PS Class")
]
coclass $$ClassType$$PS
{
[default] interface IShellPropSheetExt;
interface IShellExtInit;
};
$$ENDIF
$$IF(InfoTip)
[
uuid($$InfoTipGUID$$),
helpstring("$$ClassType$$IT Class")
]
coclass $$ClassType$$IT
{
[default] interface IQueryInfo;
interface IPersistFile;
};
$$ENDIF
};