>There is little I can find on this WIN32API function as it pertains to anything other than C++. Any thoughts as to its arguments or an alternative means to achieving the same result? The aim is to get the "windows" directory.Thank you in advance.
There's an entry in the FAQ that I wrote, FAQ#7806, that gives an exact implementation of this in VFP. It's under
Win32 and Other APIs