NetShareGetInfo or Net32ShareGetInfo

The NetShareGetInfo API retrieves information about a particular shared resource on a server.