The CeSetEndOfFile function moves the end-of-file position for the specified file to the current position of the file pointer. This is the RAPI version of the SetEndOfFile function.
BOOL CeSetEndOfFile(HANDLE hFile);
Header file: | Rapi.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
When writing applications for Windows CE versions 1.0 and 1.01, use the PegSetEndOfFile function.
For more information about using RAPI functions, see Invoking Functions from a Desktop Computer.