Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mufid Hadzic
  Where is Mufid Hadzic?
 Sarajevo
 Bosnia and Herzegovina
 Mufid Hadzic
 Tags
Subject: pass structure to api function
Thread ID: 22946 Message ID: 22946 # Views: 20 # Ratings: 0
Version: Visual FoxPro 7 Category: Win32API programming
Date: Wednesday, April 30, 2003 2:34:10 PM         
   


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

COMPLETE THREAD

pass structure to api function Posted by Mufid Hadzic @ 4/30/2003 2:34:10 PM
RE: pass structure to api function Posted by Eric den Doop @ 4/30/2003 2:36:44 PM