Wrapper around TruncateFile().

Synopsis

Declared in <streams.h>

bool
Truncate(unsigned int size);

Return Value

True if the file was successfully truncated, false otherwise.

Parameters

Name

Description

size

New size of the file in bytes.

Created with MrDocs