Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method retrieves the amount of space on a disk volume on a remote Microsoft® Windows® CE–based device.
int CeGetDiskFreeSpaceEx(
LPCTSTR _lpDirectoryName,,
PULARGE_INTEGER lpFreeBytesAvailable,,
PULARGE_INTEGER lpTotalNumberOfBytes,,
PULARGE_INTEGER lpTotalNumberOfFreeBytes
);
- lpDirectoryName
[in] A pointer to a null-terminated string that specifies a directory on a disk. - lpFreeBytesAvailable
[out] A pointer to a variable that receives the total number of free bytes on a disk that are available to the user who is associated with the calling thread. - lpTotalNumberOfBytes
[in] A pointer to a variable that receives the total number of bytes on a disk that are available to the user who is associated with the calling thread. - lpTotalNumberOfFreeBytes
[in] A pointer to a variable that receives the total number of free bytes on a disk.
Nonzero indicates success. Zero indicates failure. To get extended error information, call CeGetLastError and CeRapiGetError.
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: Rapi.h
Library: Rapi.lib
Send Feedback on this topic to the authors