how to pass this data sructure in api function WNetEnumResource
Private Type NETRESOURCE
dwScope As Long
dwType As Long
dwDisplayType As Long
dwUsage As Long
pLocalName As Long
pRemoteName As Long
pComment As Long
pProvider As Long
End Type
if I use class, I pass more information that i need, example: parent class, and some other properties of class, if I pass like array I get error, invalid address.
vfp