win32wnet.WNetGetLastError

(int,str,str) = WNetGetLastError()

Retrieves extended error information set by a network provider when one of the WNet* functions fails

Comments

The error description or the network provider name may be truncated if they exceed 1024 and 256 characters, respectively

Return Value

Returns the error code, a text description of the error, and the name of the network provider