SetEndOfFile function kernel32

int SetEndOfFile(
  1. int hFile
)

Sets the physical file size for the specified file to the current position of the file pointer.

BOOL SetEndOfFile(
  [in] HANDLE hFile
);

Implementation

int SetEndOfFile(int hFile) => _SetEndOfFile(hFile);