Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.2 KiB

  1. // BOMSnap.idl : IDL source for BOMSnap.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (BOMSnap.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. import "mmc.idl";
  8. typedef enum _BOM_OBJECT_TYPE
  9. {
  10. OBJTYPE_SNAPIN = 1,
  11. OBJTYPE_SCOPE,
  12. OBJTYPE_RESULT,
  13. OBJTYPE_MULTISELECT
  14. }
  15. BOM_OBJECT_TYPE;
  16. [
  17. uuid(3604CBD7-D6BA-4742-96E5-F1D8D5CBCFEE),
  18. version(1.0),
  19. helpstring("BOMSnap 1.0 Type Library")
  20. ]
  21. library BOMSNAPINLib
  22. {
  23. importlib("stdole32.tlb");
  24. importlib("stdole2.tlb");
  25. [
  26. uuid(5876455A-D84B-481f-8E65-44853F6F0914),
  27. helpstring("BackOffice Manager Snap-in Class")
  28. ]
  29. coclass BOMSnapIn
  30. {
  31. [default] interface IUnknown;
  32. };
  33. [
  34. uuid(63FC9C7B-E45A-4549-B030-31BFDE06C9B1),
  35. helpstring("BackOffice Manager Snap-in About")
  36. ]
  37. coclass BOMSnapInAbout
  38. {
  39. [default] interface IUnknown;
  40. };
  41. };
  42. [
  43. object,
  44. uuid (FC9F1049-7CFC-4d20-923E-9ED0B37A31E6),
  45. helpstring("BackOffice Manager Data interface"),
  46. pointer_default(unique)
  47. ]
  48. interface IBOMObject : IDataObject
  49. {
  50. HRESULT Notify([in] LPCONSOLE2 pConsole, [in] MMC_NOTIFY_TYPE event, [in] LPARAM arg, [in] LPARAM param);
  51. HRESULT AddMenuItems([in] LPCONTEXTMENUCALLBACK pCallback, [in, out] LONG* plAllowed);
  52. HRESULT MenuCommand([in] LPCONSOLE2 pConsole, [in] long lCommand);
  53. HRESULT SetToolButtons([in] LPTOOLBAR pToolbar);
  54. HRESULT SetVerbs([in] LPCONSOLEVERB pVerb);
  55. HRESULT QueryPagesFor();
  56. HRESULT CreatePropertyPages([in] LPPROPERTYSHEETCALLBACK lpProvider, [in] LONG_PTR handle);
  57. HRESULT GetWatermarks([out] HBITMAP* lphWatermark, [out] HBITMAP* lphHeader,
  58. [out] HPALETTE* lphPalette, [out] BOOL* bStretch);
  59. };