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
2.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 2000
  6. //
  7. // File: pasrec.idl
  8. //
  9. // Description:
  10. //
  11. // This file describes the DPAPI PasswordRecovery interface, which is
  12. // a local-only RPC interface used to support the "password recovery
  13. // disk" feature for local user accounts. The server-side handlers
  14. // for this interface live in the lsass.exe process.
  15. //
  16. //--------------------------------------------------------------------------
  17. import "unknwn.idl";
  18. import "basetsd.h";
  19. ////////////////////////////
  20. // Interfaces
  21. [
  22. uuid(5cbe92cb-f4be-45c9-9fc9-33e73e557b20),
  23. version(1.0),
  24. pointer_default(unique)
  25. ]
  26. interface PasswordRecovery
  27. {
  28. DWORD
  29. SSRecoverQueryStatus(
  30. [in] handle_t h,
  31. [in,ptr][size_is(cbUserName)] BYTE* pbUserName,
  32. [in] DWORD cbUserName,
  33. [out, retval] DWORD* pcbRecoveryStatus);
  34. DWORD
  35. SSRecoverImportRecoveryKey(
  36. [in] handle_t h,
  37. [in,ptr][size_is(cbUsername)] BYTE* pbUsername,
  38. [in] DWORD cbUsername,
  39. [in,ptr][size_is(cbCurrentPassword)] BYTE* pbCurrentPassword,
  40. [in] DWORD cbCurrentPassword,
  41. [in,ptr][size_is(cbRecoveryPublic)] BYTE* pbRecoveryPublic,
  42. [in] DWORD cbRecoveryPublic);
  43. DWORD
  44. SSRecoverPassword(
  45. [in] handle_t h,
  46. [in,ptr][size_is(cbUsername)] BYTE* pbUsername,
  47. [in] DWORD cbUsername,
  48. [in,ptr][size_is(cbRecoveryPrivate)] BYTE* pbRecoveryPrivate,
  49. [in] DWORD cbRecoveryPrivate,
  50. [in,ptr][size_is(cbPasswordData)] BYTE* pbPasswordData,
  51. [in] DWORD cbPasswordData);
  52. }