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.

44 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: keyrpc.idl
  8. //
  9. // Description:
  10. //
  11. // This file describes the DPAPI BackupKey RPC interface, which is
  12. // used by DPAPI when comunicating with the domain controller.
  13. // This interface is used for three purposes:
  14. //
  15. // 1. To retrieve the domain backup public key (Whistler only).
  16. // 2. To backup master keys.
  17. // 3. To restore previously backed up master keys.
  18. //
  19. //--------------------------------------------------------------------------
  20. import "unknwn.idl";
  21. ////////////////////////////
  22. // Interfaces
  23. [
  24. uuid(3dde7c30-165d-11d1-ab8f-00805f14db40),
  25. version(1.0),
  26. pointer_default(unique)
  27. ]
  28. interface BackupKey
  29. {
  30. DWORD
  31. BackuprKey(
  32. [in] handle_t h,
  33. [in] GUID* pguidActionAgent,
  34. [in][size_is(cbDataIn)] BYTE* pDataIn,
  35. [in] DWORD cbDataIn,
  36. [out][size_is(,*pcbDataOut)] BYTE** ppDataOut,
  37. [out] DWORD* pcbDataOut,
  38. [in] DWORD dwParam
  39. );
  40. }