38.9.4.27 Get Free Space in CF Card

To acquire free space in byte units in the CF Card connected to an assigned station.

Function Name

INT WINAPI EasyGetCfFreeSpace(LPCSTR sNodeName, INT* oiUnallocated);
INT WINAPI EasyGetCfFreeSpaceEX(LPCSTR sNodeName, INT* poiUnallocatedL, INT* poiUnallocatedH);

Argument

sNodeName: The station name is fixed as #WinGP.

oiUnallocated: Free Space in CF Card (Acquired in byte units)

poiUnallocatedL: Free space on CF card (lower 4 bytes)

poiUnallocatedL: Free space on CF card (higher 4 bytes)

Return value (NULL)

Normal End: 0

Problem: Error code

Special Item