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.

63 lines
1.3 KiB

  1. // OpenFiles.idl : IDL source for OpenFiles.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (OpenFiles.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(CDB96FC3-79C4-46CD-8409-939D023F8794),
  10. dual,
  11. helpstring("IShareInfo Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IShareInfo : IDispatch
  15. {
  16. [id(1), helpstring("method SetShareInfo")]
  17. HRESULT SetShareInfo( [in] BSTR bstrShareName, [in] DWORD dwCache );
  18. };
  19. [
  20. object,
  21. uuid(A28878A9-1F92-4768-9E7C-9DAD62DC0C5B),
  22. dual,
  23. helpstring("IOpenF Interface"),
  24. pointer_default(unique)
  25. ]
  26. interface IOpenF : IDispatch
  27. {
  28. [id(1), helpstring("method getOpenFiles")] HRESULT getOpenFiles([out, retval] VARIANT *pOpenFiles);
  29. };
  30. [
  31. uuid(90B82436-337B-444D-9263-3E39A8E3C355),
  32. version(1.0),
  33. helpstring("OpenFiles 1.0 Type Library")
  34. ]
  35. library OPENFILESLib
  36. {
  37. importlib("stdole32.tlb");
  38. importlib("stdole2.tlb");
  39. [
  40. uuid(DFF1BD05-820A-4541-9ED7-B9D40E20D4FB),
  41. helpstring("OpenF Class")
  42. ]
  43. coclass OpenF
  44. {
  45. [default] interface IOpenF;
  46. };
  47. [
  48. uuid(76837C5E-10CA-40C4-8FFF-2FCD15572165),
  49. helpstring("ShareInfo Class")
  50. ]
  51. coclass ShareInfo
  52. {
  53. [default] interface IShareInfo;
  54. };
  55. };