SetFileValidData function kernel32

int SetFileValidData(
  1. int hFile,
  2. int ValidDataLength
)

Sets the valid data length of the specified file. This function is useful in very limited scenarios.

BOOL SetFileValidData(
  [in] HANDLE   hFile,
  [in] LONGLONG ValidDataLength
);

Implementation

int SetFileValidData(int hFile, int ValidDataLength) =>
    _SetFileValidData(hFile, ValidDataLength);