NTSTATUS
FstubWriteSector(
  IN  PDEVICE_OBJECT DeviceObject,
  IN  ULONG SectorSize,
  IN  ULONG64 SectorNumber,
  IN  PVOID Buffer
  );

Routine Description:

    Read a sector from the device DeviceObject.

Arguments:

    DeviceObject - The object representing the device.

    SectorSize - The size of one sector on the device.

    SectorNumber - The sector number to write.

    Buffer - The buffer to write. The buffer must be of size SectorSize.

Return Values:

    NTSTATUS code.