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.

57 lines
1.8 KiB

  1. /*++
  2. Module Name:
  3. PwdSvc.idl
  4. IDL file for the RPC interface associated with ADMT's password
  5. migration Lsa notification package, which is used by ADMT to migrate
  6. user passwords
  7. Author:
  8. Paul Thompson - 09/04/00
  9. --*/
  10. [
  11. uuid( B15B2F9F-903C-4671-8DC0-772C54214068 ),
  12. version( 1.0 ),
  13. pointer_default(unique)
  14. ]
  15. interface PwdMigRpc
  16. {
  17. cpp_quote( "#ifdef WIN16_VERSION" )
  18. cpp_quote( " #ifdef _DOS" )
  19. cpp_quote( " #define __export" )
  20. cpp_quote( " #endif" )
  21. cpp_quote( " #ifndef __stdcall" )
  22. cpp_quote( " #define __stdcall __pascal __export" )
  23. cpp_quote( " #endif" )
  24. cpp_quote( "#endif" )
  25. typedef unsigned long DWORD;
  26. cpp_quote( "#ifndef BYTE" )
  27. typedef unsigned char BYTE;
  28. cpp_quote( "#endif" )
  29. const int PASSWORD_BUFFER_SIZE = 32;
  30. DWORD stdcall
  31. CopyPassword(
  32. [in] handle_t hBinding,
  33. [in,string] wchar_t const * tgtServer,
  34. [in,string] wchar_t const * srcName,
  35. [in,string] wchar_t const * tgtName,
  36. [in] unsigned long dwPwd,
  37. [in,size_is(dwPwd)] char const * currentPwd
  38. );
  39. DWORD stdcall
  40. CheckConfig(
  41. [in] handle_t hBinding,
  42. [in] unsigned long dwSession,
  43. [in,size_is(dwSession)] char const * aSession,
  44. [in] unsigned long dwPwd,
  45. [in,size_is(dwPwd)] char const * aTestPwd,
  46. [out] wchar_t tempPwd[PASSWORD_BUFFER_SIZE]
  47. );
  48. }