CeSetEndOfFile

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.

Syntax

BOOL CeSetEndOfFile(HANDLE hFile);

At a Glance

Header file: Rapi.h
Platforms: H/PC
Windows CE versions: 2.0 and later

Remarks

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.

See Also

RemoveDirectory