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.

85 lines
2.5 KiB

  1. // ITrkAdmn.idl : IDL source for ITrkAdmn.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (ITrkAdmn.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(A2531F44-C67D-11D0-8CB1-00C04FD90F85),
  10. dual,
  11. helpstring("Forcably gives a machine link-tracking ownership of file(s)/volume(s)"),
  12. pointer_default(unique)
  13. ]
  14. interface ITrkForceOwnership : IDispatch
  15. {
  16. [id(1), helpstring("Force one or more volumes to be owned by the current machine")]
  17. HRESULT Volumes(BSTR bstrUncPath, long lScope);
  18. [id(2), helpstring("Force one or more files to be owned by the current machine")]
  19. HRESULT Files(BSTR bstrUncPath, long lScope);
  20. [id(3), helpstring("Get the ownership-status of one or more volumes")]
  21. HRESULT VolumeStatus(BSTR bstrUncPath, long lScope,
  22. VARIANT *pvarlongVolIndex, VARIANT *pvarbstrVolId, VARIANT *pvarlongStatus );
  23. [id(4), helpstring("Get the ownership-status of one or more files")]
  24. HRESULT FileStatus(BSTR bstrUncPath, long lScope, VARIANT *pvarrgbstrFileName, VARIANT* pvarrgbstrFileId, VARIANT* pvarrglongStatus);
  25. };
  26. [
  27. object,
  28. uuid(D0056F6B-E2A0-11D0-B1C2-00C04FB9386D),
  29. dual,
  30. helpstring("Notifies a machine's Link Tracking service that a restore has taken place"),
  31. pointer_default(unique)
  32. ]
  33. interface ITrkRestoreNotify : IDispatch
  34. {
  35. [id(1), helpstring("Notify the Link Tracking service that a restore has taken place")]
  36. HRESULT OnRestore();
  37. };
  38. [
  39. object,
  40. uuid(755939E3-E381-11D0-B1C5-00C04FB9386D),
  41. helpstring("ITrkRestoreParser Interface"),
  42. pointer_default(unique)
  43. ]
  44. interface ITrkRestoreParser : IUnknown
  45. {
  46. };
  47. [
  48. uuid(A2531F35-C67D-11D0-8CB1-00C04FD90F85),
  49. version(1.0),
  50. helpstring("Link Tracking 1.0 Type Library")
  51. ]
  52. library ITRKADMNLib
  53. {
  54. importlib("stdole2.tlb");
  55. [
  56. uuid(A2531F45-C67D-11D0-8CB1-00C04FD90F85),
  57. helpstring("Link Tracking Force Ownership Class")
  58. ]
  59. coclass TrkForceOwnership
  60. {
  61. [default] interface ITrkForceOwnership;
  62. };
  63. [
  64. uuid(D0056F6C-E2A0-11D0-B1C2-00C04FB9386D),
  65. helpstring("TrkRestoreNotifyClass")
  66. ]
  67. coclass TrkRestoreNotify
  68. {
  69. [default] interface ITrkRestoreNotify;
  70. };
  71. [
  72. uuid(755939E4-E381-11D0-B1C5-00C04FB9386D),
  73. helpstring("TrkRestoreParser Class")
  74. ]
  75. coclass TrkRestoreParser
  76. {
  77. [default] interface ITrkRestoreParser;
  78. };
  79. };