Click to open or copy the files for the NullSess sample.
This sample illustrates how to use a Null session to overcome access problems during network related query operations.
This sample uses the following keywords:
establishnullsession; getlasterror; lstrcatw; lstrlenw; netuseadd; netusedel; printf; setlasterror; wmain; zeromemory