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.

61 lines
1.3 KiB

  1. /********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1987-1990 **/
  4. /********************************************************************/
  5. /*
  6. * FILE STATUS:
  7. * 12/06/90 Created
  8. * 01/02/91 renamed to just test1
  9. * 1/12/91 Split from Logon App, reduced to just Shell Test APP
  10. */
  11. /****************************************************************************
  12. PROGRAM: test1.cxx
  13. PURPOSE: Test module to test I_ChangePassword
  14. FUNCTIONS:
  15. test1()
  16. COMMENTS:
  17. ****************************************************************************/
  18. #ifdef CODESPEC
  19. /*START CODESPEC*/
  20. /********
  21. TEST1.CXX
  22. ********/
  23. /************
  24. end TEST1.CXX
  25. ************/
  26. /*END CODESPEC*/
  27. #endif // CODESPEC
  28. #include "apptest.hxx"
  29. /****************************************************************************
  30. FUNCTION: test1()
  31. PURPOSE: test WNetRestoreConnection
  32. COMMENTS:
  33. ****************************************************************************/
  34. void test1(HWND hwndParent)
  35. {
  36. MessageBox(hwndParent,SZ("Welcome to sunny test1"),SZ("Test"),MB_OK);
  37. I_ChangePassword(hwndParent);
  38. MessageBox(hwndParent,SZ("Thanks for visiting test1 -- please come again!"),SZ("Test"),MB_OK);
  39. }