No navigation frame on the left?  Click here.

NetShareGetInfo

I don't think this one needs any kind of comment ... except the usual caveat -- all Net*() functions are Unicode-only on NT, even if the headers say otherwise.  This sample does not read the security off a share; for an example of that, see the dumpacl sample.

nsgi.cpp, 3 KB