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.

113 lines
3.6 KiB

  1. // SAFRCFileDlg.idl : IDL source for SAFRCFileDlg.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (SAFRCFileDlg.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(2AC10A96-17A1-4B08-8EF0-5988F3979F18),
  10. dual,
  11. helpstring("IFileSave Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IFileSave : IDispatch
  15. {
  16. [id(1), helpstring("method OpenFileSaveDlg")] HRESULT OpenFileSaveDlg([out, retval] DWORD *pdwRetVal);
  17. [propget, id(2), helpstring("property FileName")] HRESULT FileName([out, retval] BSTR *pVal);
  18. [propput, id(2), helpstring("property FileName")] HRESULT FileName([in] BSTR newVal);
  19. [propget, id(3), helpstring("property FileType")] HRESULT FileType([out, retval] BSTR *pVal);
  20. [propput, id(3), helpstring("property FileType")] HRESULT FileType([in] BSTR newVal);
  21. };
  22. [
  23. object,
  24. uuid(C9F9C23C-1A16-4A31-B53B-A81B334DFBE0),
  25. dual,
  26. helpstring("IFileOpen Interface"),
  27. pointer_default(unique)
  28. ]
  29. interface IFileOpen : IDispatch
  30. {
  31. [id(1), helpstring("method OpenFileOpenDlg")] HRESULT OpenFileOpenDlg([out, retval] DWORD *pdwRetVal);
  32. [propget, id(2), helpstring("property FileName")] HRESULT FileName([out, retval] BSTR *pVal);
  33. [propput, id(2), helpstring("property FileName")] HRESULT FileName([in] BSTR newVal);
  34. [propget, id(3), helpstring("property FileSize")] HRESULT FileSize([out, retval] BSTR *pVal);
  35. };
  36. [
  37. object,
  38. uuid(3A1AAF00-BDD5-456B-9E69-9F02F06FDF76),
  39. dual,
  40. helpstring("IPanic Interface"),
  41. pointer_default(unique)
  42. ]
  43. interface IPanic : IDispatch
  44. {
  45. [id(1), helpstring("method SetHook")] HRESULT SetPanicHook([in] IDispatch *iDisp);
  46. [id(2), helpstring("method ClearHook")] HRESULT ClearPanicHook();
  47. };
  48. [
  49. object,
  50. uuid(9E57A474-0A04-4b89-9D27-1981B26C970D),
  51. dual,
  52. helpstring("ISetting Interface"),
  53. pointer_default(unique)
  54. ]
  55. interface IRASetting : IDispatch
  56. {
  57. [id(1), helpstring("method GetProfileString")] HRESULT GetProfileString([in] BSTR section, [out, retval] BSTR* pVal);
  58. [id(2), helpstring("method SetProfileString")] HRESULT SetProfileString([in] BSTR section, [in] BSTR newVal);
  59. [propget, id(3), helpstring("property GetUserTempFileName")] HRESULT GetUserTempFileName([out, retval] BSTR *pVal);
  60. [propget, id(4), helpstring("property GetPropertyInBlob")] HRESULT GetPropertyInBlob([in] BSTR bstrBlob, [in] BSTR bstrName, [out, retval] BSTR *pVal);
  61. [id(5), helpstring("Attach Name value into Blob")] HRESULT AddPropertyToBlob([in] BSTR Name, [in] BSTR Value, [in] BSTR oldBlob, [out, retval] BSTR *pnewBlob);
  62. [propget, id(6), helpstring("property GetUserProfileDirectory")] HRESULT GetUserProfileDirectory([out, retval] BSTR *pVal);
  63. };
  64. [
  65. uuid(DBEB2F21-60F6-4690-AB98-E512B476809F),
  66. version(1.0),
  67. helpstring("SAFRCFileDlg 1.0 Type Library")
  68. ]
  69. library SAFRCFILEDLGLib
  70. {
  71. importlib("stdole32.tlb");
  72. importlib("stdole2.tlb");
  73. [
  74. uuid(F9A4D260-0342-4672-8007-0882F75DAFC7),
  75. helpstring("FileSave Class")
  76. ]
  77. coclass FileSave
  78. {
  79. [default] interface IFileSave;
  80. };
  81. [
  82. uuid(5F889CE8-3B09-4CFF-B70A-83730CC00627),
  83. helpstring("FileOpen Class")
  84. ]
  85. coclass FileOpen
  86. {
  87. [default] interface IFileOpen;
  88. };
  89. [
  90. uuid(E7220659-8771-4CF3-8F29-BCDFFA7848C9),
  91. helpstring("Panic Class")
  92. ]
  93. coclass Panic
  94. {
  95. [default] interface IPanic;
  96. };
  97. [
  98. uuid(81D2F0F2-5671-411f-9F31-8823E9A444DB),
  99. helpstring("Setting Class")
  100. ]
  101. coclass RASetting
  102. {
  103. [default] interface IRASetting;
  104. };
  105. };