windows-nt/Source/XPSP1/NT/admin/netui/shell/test/apptest7.cxx
2020-09-26 16:20:57 +08:00

60 lines
1.3 KiB
C++
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/********************************************************************/
/** Microsoft LAN Manager **/
/** Copyright(c) Microsoft Corp., 1987-1990 **/
/********************************************************************/
/*
* FILE STATUS:
* 01/23/90 Created
*/
/****************************************************************************
PROGRAM: test7.cxx
PURPOSE: Test module to test WNetRestoreConnection(1)
FUNCTIONS:
test7()
COMMENTS:
****************************************************************************/
#ifdef CODESPEC
/*START CODESPEC*/
/********
TEST7.CXX
********/
/************
end TEST7.CXX
************/
/*END CODESPEC*/
#endif // CODESPEC
#include "apptest.hxx"
/****************************************************************************
FUNCTION: test7()
PURPOSE: test WNetRestoreConnection(NULL)
COMMENTS:
****************************************************************************/
void test7(HWND hwndParent)
{
MessageBox(hwndParent,SZ("Welcome to sunny test7"),SZ("Test"),MB_OK);
WNetRestoreConnection(hwndParent,NULL) ;
MessageBox(hwndParent,SZ("Thanks for visiting test7 -- please come again!"),SZ("Test"),MB_OK);
}