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.

59 lines
1.3 KiB

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