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.

65 lines
1.5 KiB

  1. /********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1987-1990 **/
  4. /********************************************************************/
  5. /*
  6. * FILE STATUS:
  7. * 1/02/91 Created
  8. * 1/12/91 Split from Logon App, reduced to just Shell Test APP
  9. * 2/21/91 Disabled
  10. */
  11. /****************************************************************************
  12. PROGRAM: test5.cxx
  13. PURPOSE: Test module as yet undefined
  14. FUNCTIONS:
  15. test5()
  16. COMMENTS:
  17. ****************************************************************************/
  18. #ifdef CODESPEC
  19. /*START CODESPEC*/
  20. /********
  21. TEST5.CXX
  22. ********/
  23. /************
  24. end TEST5.CXX
  25. ************/
  26. /*END CODESPEC*/
  27. #endif // CODESPEC
  28. #include "apptest.hxx"
  29. /****************************************************************************
  30. FUNCTION: test5()
  31. PURPOSE: as yet undefined
  32. COMMENTS:
  33. ****************************************************************************/
  34. void test5(HWND hwndParent)
  35. {
  36. MessageBox(hwndParent,SZ("WNetNukeConnections/WNetRestoreConnections stress Test"),SZ("MPR Tests"),MB_OK);
  37. APIERR err = NERR_Success;
  38. for (INT i = 0; i < 3; i++)
  39. {
  40. err = WNetNukeConnections( hwndParent ) ;
  41. err = WNetRestoreConnection( hwndParent, NULL ) ;
  42. }
  43. MessageBox(hwndParent,SZ("Thanks for visiting test5 -- please come again!"),SZ("Test"),MB_OK);
  44. }