SetFileValidData function kernel32
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);