When issuing the "net use" command in Windows there is a "Status" column. Is it possible to get that via any of the methods found in the mpr.dll?
I'm currently using WNetOpenEnum and then using WNetEnumResource to iterate though the drives that are mapped. I can get all of the columns except status.
I thought that one of the fields in the NetResource struct would specify the status, but when I run "net use" and have two drives, one of which has Status of "OK" and one of which is "Unavailable" the fields are all the same.