/reactos/sdk/lib/rtl/ |
H A D | memstream.c | 170 _Out_opt_ PULONG BytesRead) in RtlReadMemoryStream() argument 176 if (BytesRead) in RtlReadMemoryStream() 177 *BytesRead = 0; in RtlReadMemoryStream() 188 *BytesRead = CopyLength; in RtlReadMemoryStream() 202 _Out_opt_ PULONG BytesRead) in RtlReadOutOfProcessMemoryStream() argument 210 if (BytesRead) in RtlReadOutOfProcessMemoryStream() 211 *BytesRead = 0; in RtlReadOutOfProcessMemoryStream() 227 if (BytesRead) in RtlReadOutOfProcessMemoryStream() 294 if (BytesRead) in RtlCopyMemoryStreamTo() 295 BytesRead->QuadPart = 0; in RtlCopyMemoryStreamTo() [all …]
|
/reactos/modules/rostests/kmtests/kmtest/ |
H A D | support.c | 100 DWORD BytesRead; in KmtRunKernelTest() local 104 …andle, IOCTL_KMTEST_RUN_TEST, (PVOID)TestName, (DWORD)strlen(TestName), NULL, 0, &BytesRead, NULL)) in KmtRunKernelTest() 262 DWORD BytesRead; in KmtSendToDriver() local 266 …if (!DeviceIoControl(TestDeviceHandle, KMT_MAKE_CODE(ControlCode), NULL, 0, NULL, 0, &BytesRead, N… in KmtSendToDriver() 287 DWORD BytesRead; in KmtSendStringToDriver() local 291 …ndle, KMT_MAKE_CODE(ControlCode), (PVOID)String, (DWORD)strlen(String), NULL, 0, &BytesRead, NULL)) in KmtSendStringToDriver() 312 DWORD BytesRead; in KmtSendWStringToDriver() local 316 …ODE(ControlCode), (PVOID)String, (DWORD)wcslen(String) * sizeof(WCHAR), NULL, 0, &BytesRead, NULL)) in KmtSendWStringToDriver() 337 DWORD BytesRead; in KmtSendUlongToDriver() local 341 …ol(TestDeviceHandle, KMT_MAKE_CODE(ControlCode), &Value, sizeof(Value), NULL, 0, &BytesRead, NULL)) in KmtSendUlongToDriver()
|
H A D | kmtest.c | 116 DWORD BytesRead; in ListTests() local 124 …eIoControl(KmtestHandle, IOCTL_KMTEST_GET_TESTS, NULL, 0, Buffer, sizeof Buffer, &BytesRead, NULL)) in ListTests() 258 DWORD BytesRead; in RunTest() local 267 …Handle, IOCTL_KMTEST_SET_RESULTBUFFER, ResultBuffer, RESULTBUFFER_SIZE, NULL, 0, &BytesRead, NULL)) in RunTest()
|
/reactos/base/services/dhcpcsvc/ |
H A D | dhcpcsvc.c | 85 DWORD BytesRead; in DhcpQueryHWInfo() local 96 &BytesRead, NULL); in DhcpQueryHWInfo() 117 DWORD BytesRead; in DhcpLeaseIpAddress() local 128 &BytesRead, NULL); in DhcpLeaseIpAddress() 143 DWORD BytesRead; in DhcpReleaseIpAddressLease() local 154 &BytesRead, NULL); in DhcpReleaseIpAddressLease() 169 DWORD BytesRead; in DhcpRenewIpAddressLease() local 180 &BytesRead, NULL); in DhcpRenewIpAddressLease() 197 DWORD BytesRead; in DhcpStaticRefreshParams() local 210 &BytesRead, NULL); in DhcpStaticRefreshParams() [all …]
|
/reactos/modules/rostests/rosautotest/ |
H A D | CJournaledTestList.cpp | 200 DWORD BytesRead; in LoadJournalFile() local 209 ReadFile(m_hJournal, FileHeader, sizeof(szJournalHeader), &BytesRead, NULL); in LoadJournalFile() 210 RemainingSize -= BytesRead; in LoadJournalFile() 212 if(BytesRead != sizeof(szJournalHeader)) in LoadJournalFile() 219 ReadFile(m_hJournal, &m_ListIterator, sizeof(m_ListIterator), &BytesRead, NULL); in LoadJournalFile() 220 RemainingSize -= BytesRead; in LoadJournalFile() 222 if(BytesRead != sizeof(m_ListIterator)) in LoadJournalFile() 228 ReadFile(m_hJournal, Buffer, RemainingSize, &BytesRead, NULL); in LoadJournalFile()
|
/reactos/base/applications/cmdutils/fsutil/ |
H A D | fsinfo.c | 167 DWORD BytesRead; in NtfsInfoMain() local 191 sizeof(Data), &BytesRead, NULL) == FALSE) in NtfsInfoMain() 204 if (BytesRead > sizeof(NTFS_VOLUME_DATA_BUFFER)) in NtfsInfoMain() 346 if (Length * ProcCount > BytesRead) in ValidateSizes() 353 if ((sizeof(FILESYSTEM_STATISTICS) + SpecificSize) * ProcCount > BytesRead) in ValidateSizes() 388 if (ValidateSizes(Length, ProcCount, BytesRead, sizeof(EXFAT_STATISTICS))) in SumExFat() 430 if (ValidateSizes(Length, ProcCount, BytesRead, sizeof(FAT_STATISTICS))) in SumFat() 472 if (ValidateSizes(Length, ProcCount, BytesRead, sizeof(NTFS_STATISTICS))) in SumNtfs() 530 DWORD BytesRead, Length, ProcCount; in StatisticsMain() local 556 Length, &BytesRead, NULL) == FALSE) in StatisticsMain() [all …]
|
H A D | dirty.c | 26 ULONG VolumeStatus, BytesRead; in QueryMain() local 45 sizeof(ULONG), &BytesRead, NULL) == FALSE) in QueryMain() 64 DWORD BytesRead; in SetMain() local 82 … if (DeviceIoControl(Volume, FSCTL_MARK_VOLUME_DIRTY, NULL, 0, NULL, 0, &BytesRead, NULL) == FALSE) in SetMain()
|
H A D | volume.c | 25 ULONG BytesRead; in LockOrUnlockVolume() local 29 &BytesRead, NULL) == FALSE) in LockOrUnlockVolume() 42 ULONG BytesRead; in DismountMain() local 68 0, &BytesRead, NULL) == FALSE) in DismountMain()
|
/reactos/drivers/network/dd/rtl8139/ |
H A D | info.c | 281 OUT PULONG BytesRead, in MiniportSetInformation() argument 298 *BytesRead = 0; in MiniportSetInformation() 314 *BytesRead = sizeof(ULONG); in MiniportSetInformation() 334 *BytesRead = 0; in MiniportSetInformation() 356 *BytesRead = 0; in MiniportSetInformation() 365 *BytesRead = 0; in MiniportSetInformation() 379 *BytesRead = 0; in MiniportSetInformation() 386 *BytesRead = InformationBufferLength; in MiniportSetInformation()
|
/reactos/drivers/network/dd/e1000/ |
H A D | info.c | 281 OUT PULONG BytesRead, in MiniportSetInformation() argument 295 *BytesRead = 0; in MiniportSetInformation() 311 *BytesRead = sizeof(ULONG); in MiniportSetInformation() 336 *BytesRead = 0; in MiniportSetInformation() 358 *BytesRead = 0; in MiniportSetInformation() 367 *BytesRead = 0; in MiniportSetInformation() 382 *BytesRead = 0; in MiniportSetInformation() 389 *BytesRead = InformationBufferLength; in MiniportSetInformation()
|
/reactos/drivers/network/dd/pcnet/ |
H A D | requests.c | 381 OUT PULONG BytesRead, in MiniportSetInformation() argument 417 *BytesRead = 0; in MiniportSetInformation() 435 *BytesRead = sizeof(ULONG); in MiniportSetInformation() 453 *BytesRead = 0; in MiniportSetInformation() 474 *BytesRead = 0; in MiniportSetInformation() 494 *BytesRead = 0; in MiniportSetInformation() 503 *BytesRead = InformationBufferLength; in MiniportSetInformation()
|
/reactos/sdk/tools/cabman/ |
H A D | cabinet.cxx | 327 ULONG BytesRead; in SetCabinetReservedFile() local 362 if( BytesRead != CabinetReservedFileSize ) in SetCabinetReservedFile() 399 ULONG BytesRead; in Open() local 659 ULONG BytesRead; in ExtractFile() local 1207 ULONG BytesRead; in WriteFileToScratchStorage() local 1275 TotalBytesLeft -= BytesRead; in WriteFileToScratchStorage() 1938 ULONG BytesRead; in ReadString() local 1992 ULONG BytesRead; in ReadFileTable() local 2052 ULONG BytesRead; in ReadDataBlocks() local 2337 if ( *BytesRead != Size ) in ReadBlock() [all …]
|
H A D | CCFDATAStorage.cxx | 192 ULONG CCFDATAStorage::ReadBlock(PCFDATA Data, void* Buffer, PULONG BytesRead) in ReadBlock() argument 194 *BytesRead = fread(Buffer, 1, Data->CompSize, FileHandle); in ReadBlock() 195 if (*BytesRead != Data->CompSize) in ReadBlock()
|
/reactos/modules/rosapps/applications/cmdutils/vcdcli/ |
H A D | vcdcli.c | 141 DWORD i, BytesRead; in IsLetterOwned() local 152 …IoControl(hDev, IOCTL_VCDROM_ENUMERATE_DRIVES, NULL, 0, &Drives, sizeof(Drives), &BytesRead, NULL); in IsLetterOwned() 196 DWORD BytesRead; in _tmain() local 221 …IoControl(hDev, IOCTL_VCDROM_ENUMERATE_DRIVES, NULL, 0, &Drives, sizeof(Drives), &BytesRead, NULL); in _tmain() 266 …viceIoControl(hLet, IOCTL_VCDROM_GET_IMAGE_PATH, NULL, 0, &Image, sizeof(Image), &BytesRead, NULL); in _tmain() 323 …eviceIoControl(hDev, IOCTL_VCDROM_CREATE_DRIVE, NULL, 0, &Letter, sizeof(WCHAR), &BytesRead, NULL); in _tmain() 427 …trol(hDev, IOCTL_VCDROM_MOUNT_IMAGE, &MountParams, sizeof(MountParams), NULL, 0, &BytesRead, NULL); in _tmain() 500 Res = DeviceIoControl(hDev, IOCTL_STORAGE_LOAD_MEDIA, NULL, 0, NULL, 0, &BytesRead, NULL); in _tmain() 547 Res = DeviceIoControl(hDev, IOCTL_CDROM_EJECT_MEDIA, NULL, 0, NULL, 0, &BytesRead, NULL); in _tmain() 594 Res = DeviceIoControl(hDev, IOCTL_VCDROM_DELETE_DRIVE, NULL, 0, NULL, 0, &BytesRead, NULL); in _tmain()
|
/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/ |
H A D | condrv.c | 34 WORD BytesRead = 0; in ConDrvReadInput() local 43 while (BytesRead < *Length) in ConDrvReadInput() 66 Pointer[BytesRead++] = Character; in ConDrvReadInput() 72 *Length = BytesRead; in ConDrvReadInput()
|
/reactos/drivers/network/dd/dc21x4/ |
H A D | requests.c | 488 _Out_ PULONG BytesRead, in DcSetInformation() argument 495 *BytesRead = 0; in DcSetInformation() 509 *BytesRead = sizeof(ULONG); in DcSetInformation() 542 *BytesRead = InformationBufferLength; in DcSetInformation() 561 *BytesRead = sizeof(ULONG); in DcSetInformation() 579 *BytesRead = sizeof(ULONG); in DcSetInformation() 600 *BytesRead = sizeof(NDIS_PM_PACKET_PATTERN); in DcSetInformation() 620 *BytesRead = sizeof(NDIS_PM_PACKET_PATTERN); in DcSetInformation() 640 *BytesRead = sizeof(ULONG); in DcSetInformation()
|
/reactos/modules/rosapps/applications/vcdcontroltool/ |
H A D | vcdcontroltool.c | 69 DWORD BytesRead, i; in RefreshDevicesList() local 87 …ontrol(hMaster, IOCTL_VCDROM_ENUMERATE_DRIVES, NULL, 0, &Drives, sizeof(Drives), &BytesRead, NULL); in RefreshDevicesList() 432 DWORD BytesRead; in PerformMount() local 559 DWORD BytesRead; in AddDrive() local 567 …ceIoControl(hMaster, IOCTL_VCDROM_CREATE_DRIVE, NULL, 0, &Letter, sizeof(WCHAR), &BytesRead, NULL); in AddDrive() 668 DWORD BytesRead; in RemountImage() local 679 DeviceIoControl(hLet, IOCTL_STORAGE_LOAD_MEDIA, NULL, 0, NULL, 0, &BytesRead, NULL); in RemountImage() 697 DWORD BytesRead; in EjectDrive() local 708 DeviceIoControl(hLet, IOCTL_CDROM_EJECT_MEDIA, NULL, 0, NULL, 0, &BytesRead, NULL); in EjectDrive() 727 DWORD BytesRead; in RemoveDrive() local [all …]
|
/reactos/drivers/filesystems/ext2/src/ |
H A D | read.c | 319 OUT PULONG BytesRead in Ext2ReadInode() argument 329 if (BytesRead) { in Ext2ReadInode() 330 *BytesRead = 0; in Ext2ReadInode() 463 if (BytesRead) in Ext2ReadInode() 464 *BytesRead = Size; in Ext2ReadInode() 714 ULONG BytesRead = ReturnedLength; in Ext2ReadFile() local 717 if (ByteOffset.QuadPart + BytesRead > Fcb->Header.ValidDataLength.QuadPart) { in Ext2ReadFile() 727 BytesRead = (ULONG)(Fcb->Header.ValidDataLength.QuadPart - ByteOffset.QuadPart); in Ext2ReadFile() 729 SafeZeroMemory(SystemVA + BytesRead, Length - BytesRead); in Ext2ReadFile() 736 BytesRead, in Ext2ReadFile() [all …]
|
/reactos/drivers/network/dd/nvnet/ |
H A D | requests.c | 867 _In_ PULONG BytesRead) in NvNetSetTcpTaskOffload() argument 1287 _Out_ PULONG BytesRead, in MiniportSetInformation() argument 1294 *BytesRead = 0; in MiniportSetInformation() 1316 *BytesRead = InformationBufferLength; in MiniportSetInformation() 1334 *BytesRead = sizeof(ULONG); in MiniportSetInformation() 1360 *BytesRead = sizeof(ULONG); in MiniportSetInformation() 1379 *BytesRead = sizeof(ULONG); in MiniportSetInformation() 1401 *BytesRead = InformationBufferLength; in MiniportSetInformation() 1416 *BytesRead = sizeof(NDIS_PM_PACKET_PATTERN); in MiniportSetInformation() 1446 *BytesRead = sizeof(ULONG); in MiniportSetInformation() [all …]
|
/reactos/boot/freeldr/freeldr/lib/fs/ |
H A D | iso.c | 307 ULONG BytesRead; in IsoRead() local 384 Status = ArcRead(DeviceId, SectorBuffer, SECTORSIZE, &BytesRead); in IsoRead() 385 if (Status != ESUCCESS || BytesRead != SECTORSIZE) in IsoRead() 418 Status = ArcRead(DeviceId, Buffer, NumberOfSectors * SECTORSIZE, &BytesRead); in IsoRead() 419 if (Status != ESUCCESS || BytesRead != NumberOfSectors * SECTORSIZE) in IsoRead() 447 Status = ArcRead(DeviceId, SectorBuffer, SECTORSIZE, &BytesRead); in IsoRead() 448 if (Status != ESUCCESS || BytesRead != SECTORSIZE) in IsoRead()
|
/reactos/boot/freeldr/freeldr/ |
H A D | miscboot.c | 49 ULONG BytesRead; in LoadAndBootSector() local 174 Status = ArcRead(FileId, UlongToPtr(LoadAddress), 512, &BytesRead); in LoadAndBootSector() 176 if ((Status != ESUCCESS) || (BytesRead != 512)) in LoadAndBootSector()
|
/reactos/base/services/eventlog/ |
H A D | file.c | 555 OUT PSIZE_T BytesRead OPTIONAL, in ReadRecord() 576 BytesRead, in ReadRecord() 580 if (BytesRead) in ReadRecord() 581 *BytesRead = 0; in ReadRecord() 597 BytesRead, in ReadRecord() 702 if (BytesRead) in ReadRecord() 703 *BytesRead = dwRecordLength; in ReadRecord() 726 PULONG BytesRead, in LogfReadEvents() argument 751 if (!Buffer || !BytesRead || !BytesNeeded) in LogfReadEvents() 780 *BytesRead = 0; in LogfReadEvents() [all …]
|
/reactos/drivers/storage/ide/pciidex/ |
H A D | miniport.c | 99 ULONG BytesRead; in PciIdeXGetBusData() local 108 BytesRead = (*FdoExtension->BusInterface.GetBusData)(FdoExtension->BusInterface.Context, in PciIdeXGetBusData() 113 if (BytesRead != BufferLength) in PciIdeXGetBusData()
|
/reactos/boot/freeldr/fdebug/ |
H A D | rs232.c | 217 DWORD BytesRead = 0; in Rs232ReadByteWin32() local 221 if (!ReadFile(hPortHandle, DataByte, 1, &BytesRead, NULL)) in Rs232ReadByteWin32() 232 if (BytesRead != 1) in Rs232ReadByteWin32()
|
/reactos/modules/rostests/tests/isotest/ |
H A D | isotest.c | 90 PULONG BytesRead) in ReadBlock() argument 128 if (Status != STATUS_PENDING && BytesRead != NULL) in ReadBlock() 130 *BytesRead = IoStatusBlock.Information; in ReadBlock()
|