API Help Please!

  I am writing a Delphi 2.0 app (for WinNT/95) and am having trouble
with the WNet... API's.  Can someone please give me an example using
WNetGetConnection of how to find out the path a network drive is mapped
to.  e.g. If drive Z: is mapped to \\server\share\directory how can I
return a variable containing this info?
The built in Help isn't that great, it tells me what param's
WNetGetConnection accept's but doesn't give an example. :(

Any help would be GREATLY appreciated...