Source code of Windows XP (NT5)
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.

56 lines
1.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 2000
  6. //
  7. // File: pasrec.idl
  8. //
  9. //--------------------------------------------------------------------------
  10. import "unknwn.idl";
  11. import "basetsd.h";
  12. ////////////////////////////
  13. // Interfaces
  14. [
  15. uuid(5cbe92cb-f4be-45c9-9fc9-33e73e557b20),
  16. version(1.0),
  17. pointer_default(unique)
  18. ]
  19. interface PasswordRecovery
  20. {
  21. DWORD
  22. SSRecoverQueryStatus(
  23. [in] handle_t h,
  24. [in,ptr][size_is(cbUserName)] BYTE* pbUserName,
  25. [in] DWORD cbUserName,
  26. [out, retval] DWORD* pcbRecoveryStatus);
  27. DWORD
  28. SSRecoverImportRecoveryKey(
  29. [in] handle_t h,
  30. [in,ptr][size_is(cbUsername)] BYTE* pbUsername,
  31. [in] DWORD cbUsername,
  32. [in,ptr][size_is(cbCurrentPassword)] BYTE* pbCurrentPassword,
  33. [in] DWORD cbCurrentPassword,
  34. [in,ptr][size_is(cbRecoveryPublic)] BYTE* pbRecoveryPublic,
  35. [in] DWORD cbRecoveryPublic);
  36. DWORD
  37. SSRecoverPassword(
  38. [in] handle_t h,
  39. [in,ptr][size_is(cbUsername)] BYTE* pbUsername,
  40. [in] DWORD cbUsername,
  41. [in,ptr][size_is(cbRecoveryPrivate)] BYTE* pbRecoveryPrivate,
  42. [in] DWORD cbRecoveryPrivate,
  43. [in,ptr][size_is(cbPasswordData)] BYTE* pbPasswordData,
  44. [in] DWORD cbPasswordData);
  45. }