NetWatch: File Server Monitor

Click to open or copy the files for the NetWatch sample.

The NetWatch tool allows you to monitor the file server activities on your workstation and on remote servers. It demonstrates how an application can programmatically gather this information.

Building SDK Samples

This sample uses the following keywords:

adderrorstringtotv; allocandloadstring; assert; assertsz; assertszfn; beginpaint; bliticon; button_enable; callwindowproc; caption_item; charlower; charupper; checkmenuitem; closehandle; commandlinetoargvw; comparefilenamesqsortcallback; comparesharenames; comparesharenamesqsortcallback; compareusernamesqsortcallback; createsolidbrush; createwindow; dbgprint; debugbreak; defwindowproc; deinitnetwatchwnd; deletebrush; destroymenu; dialogbox; dispatchmessage; displaycomputerdetails; displayfiledetails; displaysharedetails; displayuserdetails; drawicon; edit_enable; edit_gettext; edit_gettextlength; edit_limittext; edit_settext; enablemenuitem; enddialog; endpaint; fanyremotedrives; filesenum; fislparamtvdata; fissharehidden; formatmessage; freelibrary; ftreeview_deleterange; ftreeview_getstring; get_wm_ctlcolor_hdc; getclientrect; getcommandline; getcomputerimage; getcomputername; getdateformat; getdlgitem; getdrivetype; getkeystate; getlocaleinfo; getmenu; getmenustate; getmessage; getmessagepos; getparent; getprocaddress; getsubmenu; getsyscolor; getsystemerrmessage; gettickcount; gettimeformat; getwindowlong; getwindowplacement; getwindowrect; globalallocptr; globalfreenullptr; globalfreeptr; haddcomputer; handle_wm_command; handle_wm_notify; handlemenu; handlewm_vkey; handlewmcommand; handlewmnotify; idbgprint; imagelist_destroy; imagelist_draw; imagelist_loadbitmap; initcommoncontrols; initnetwatchwnd; isbadstringptr; isiconic; iswindow; iswindowenabled; killtimer; loadaccelerators; loadcursor; loadicon; loadlibrary; loadmenu; loadstring; localfree; localtime; lstrcat; lstrcata; lstrcmp; lstrcmpi; lstrcpy; lstrcpya; lstrcpyn; lstrlen; makeintresource; messagebeep; messagebox; messageboxa; modifymenu; multibytetowidechar; netapibufferfree; netconnectionenum; netfileclose; netfileenum; netfilegetinfo; netservergetinfo; netsessiondel; netsessiongetinfo; netsharedel; netshareenum; netsharegetinfo; newtvproc; offsetof; outputdbgstr; outputdbgstrerror; outputdebugstringa; postmessage; postquitmessage; propdlgproc; propertydlg; propertysheet; punchtimer; putcountertime; putdate; puttime; qsort; refreshdisplay; regcreatekeyex; registerclass; regopenkeyex; regqueryvalueex; regsetvalueex; restoreserverlist; restorewindowposition; savewindowposition; screentoclient; selectcomputer; selectdlgproc; sendmessage; setbkcolor; setcursor; setdlgitemtext; seterrormode; setfocus; setmenu; settimer; setwindowlong; setwindowplacement; setwindowpos; sharemanage; sharesenum; shellabout; shoffset; showtitle; showwindow; sideassert; subclasswindow; switch; szfromids1; text; text_item; time; trackpopupmenu; translateaccelerator; translatemessage; treeview_deleteitem; treeview_ensurevisible; treeview_expand; treeview_findexactstring; treeview_freeitemdata; treeview_getchild; treeview_getcount; treeview_getitem; treeview_getnextsibling; treeview_getparent; treeview_getroot; treeview_getrootcount; treeview_getrootlist; treeview_getselecteditemdata; treeview_getselection; treeview_hittest; treeview_insertitem; treeview_selectitem; treeview_setimagelist; treeview_setitem; treeview_tvdatainsert; treeview_tvreplacelparam; usersenum; va_arg; va_end; va_start; windows; winmain; wndproc; wnetconnectiondialog; wnetdisconnectdialog; wsprintf; wsprintfa; wvsprintfa