SetFileInformationByHandle function kernel32

int SetFileInformationByHandle(
  1. int hFile,
  2. int FileInformationClass,
  3. Pointer<NativeType> lpFileInformation,
  4. int dwBufferSize,
)

Sets the file information for the specified file.

BOOL SetFileInformationByHandle(
  [in] HANDLE                    hFile,
  [in] FILE_INFO_BY_HANDLE_CLASS FileInformationClass,
  [in] LPVOID                    lpFileInformation,
  [in] DWORD                     dwBufferSize
);

Implementation

int SetFileInformationByHandle(int hFile, int FileInformationClass,
        Pointer lpFileInformation, int dwBufferSize) =>
    _SetFileInformationByHandle(
        hFile, FileInformationClass, lpFileInformation, dwBufferSize);