DECLARE GetSystemInfo IN WIN32API INTEGER lpSystemInfoA SystemInfo structure is returned in the buffer whose address is passed to the API call; you'll have to parse it and retrieve several strings whose pointers are embedded in the structure. You might want to check Christof Lange's STRUCT class to see if he's already built support for handling a SystemInfo structure into the class, rather than using ClsHeap as I demonstrate here:
SET PROCEDURE TO ClsHeap ADDITIVE oHeap = CREATEOBJ('Heap') DECLARE GetSystemInfo IN WIN32API INTEGER lpSystemInfo nBufferPointer = oHeap.Alloc(512) && more than adequate for both the structure and strings =GetSystemInfo(@nBufferPointer) cVFPBuffer = oHeap.CopyFrom(nBufferPointer) * * Extract the members you need using the UDFs in ClsHeap * oHeap.DeAlloc(nBufferPointer) oHeap = NULLClsHeap is fairly extensively commented; it describes how to use its functions to decode and retrieve various things using pointers embedded in structures.