(ret, type) = NetShareCheck(server, deviceName
)
Checks if server is sharing a device
Parameters
server : string/PyUnicode
The name of the server, or None.deviceName : string/PyUnicode
The share nameWin32 API References
Search for NetShareCheck at msdn, google or google groups.
Return Value
The result is (1, type-of-device) if device is shared, (0, None) if it is not shared.