I'm using the WIn32API call to determine the full (not relative) path name to a file. I have that working but ran across something I don't understand when trying to reconcile the MSDN description of the call and the implementation with FTN95.
Specifically, the FTN95 fourth parameter is specified as a 'REF'.
STDCALL GETFULLPATHNAME 'GetFullPathNameA' (STRING,VAL,STRING,REF & &):INTEGER*4
The MSDN description of what should be there is:
lpFilePart [out]
A pointer to a buffer that receives the address (within lpBuffer) of the final file name component in the path. This parameter can be NULL. If lpBuffer refers to a directory and not a file, lpFilePart receives zero.
I'm trying to understand what this REF actually returns relative to the description given in the MSDN Win 32 API descriptions.
Any ideas?