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.

81 lines
2.1 KiB

  1. /********************************************************************
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. sfprpc.idl
  5. Abstract:
  6. IDL file for rpc interface defintions
  7. Defines
  8. srrpc - with rpc routines for system restore related operations
  9. Revision History:
  10. Brijesh Krishnaswami (brijeshk) - 07/08/99 - Created
  11. ********************************************************************/
  12. // SR interface
  13. [ uuid (3f77b086-3a17-11d3-9166-00c04f688e28),
  14. version(1.0),
  15. pointer_default(unique)
  16. ]
  17. interface srrpc
  18. {
  19. import "import.idl";
  20. import "srrestoreptapi.h";
  21. DWORD DisableSRS([in] handle_t hl,
  22. [in, string, unique] LPCWSTR pszDrive);
  23. DWORD EnableSRS([in] handle_t hl,
  24. [in, string, unique] LPCWSTR pszDrive);
  25. DWORD ResetSRS([in] handle_t hl,
  26. [in, string, unique] LPCWSTR pszDrive);
  27. DWORD SRUpdateMonitoredListS([in] handle_t hl,
  28. [in, string] LPCWSTR pszXmlFile);
  29. BOOL SRSetRestorePointS(
  30. [in] handle_t hl,
  31. [in, unique] PRESTOREPOINTINFOW pRestorePtSpec,
  32. [out] PSTATEMGRSTATUS pSMgrStatus);
  33. BOOL SRRemoveRestorePointS(
  34. [in] handle_t hl,
  35. [in] DWORD dwRPNum);
  36. DWORD DisableFIFOS([in] handle_t hl,
  37. [in] DWORD dwRPNum);
  38. DWORD EnableFIFOS([in] handle_t hl);
  39. DWORD SRUpdateDSSizeS([in] handle_t hl,
  40. [in, string, unique] LPCWSTR pszDrive,
  41. [in] UINT64 ullSizeLimit);
  42. DWORD SRSwitchLogS([in] handle_t hl);
  43. void SRNotifyS([in] handle_t hl,
  44. [in, string] LPCWSTR pszDrive,
  45. [in] DWORD dwFreeSpaceInMB, [in] BOOL fImproving);
  46. // test api
  47. DWORD FifoS(
  48. [in] handle_t hl,
  49. [in, string, unique] LPCWSTR pszDrive,
  50. [in] DWORD dwTargetRp,
  51. [in] int nPercent,
  52. [in] BOOL fIncludeCurrentRp,
  53. [in] BOOL fFifoAtleastOneRp);
  54. DWORD CompressS([in] handle_t hl,
  55. [in, string, unique] LPCWSTR pszDrive);
  56. DWORD FreezeS([in] handle_t hl,
  57. [in, string, unique] LPCWSTR pszDrive);
  58. DWORD SRPrintStateS([in] handle_t hl);
  59. }