Home
last modified time | relevance | path

Searched refs:BytesWritten (Results 1 – 25 of 80) sorted by relevance

1234

/reactos/modules/rostests/rosautotest/
H A DCJournaledTestList.cpp92 DWORD BytesWritten; in SerializeIntoJournal() local
93 WriteFile(m_hJournal, String.c_str(), (ULONG)String.size() + 1, &BytesWritten, NULL); in SerializeIntoJournal()
108 DWORD BytesWritten; in SerializeIntoJournal() local
109 …WriteFile(m_hJournal, String.c_str(), ((ULONG)String.size() + 1) * sizeof(WCHAR), &BytesWritten, N… in SerializeIntoJournal()
155 DWORD BytesWritten; in WriteInitialJournalFile() local
171 WriteFile(m_hJournal, szJournalHeader, sizeof(szJournalHeader), &BytesWritten, NULL); in WriteInitialJournalFile()
172 WriteFile(m_hJournal, &m_ListIterator, sizeof(m_ListIterator), &BytesWritten, NULL); in WriteInitialJournalFile()
181 WriteFile(m_hJournal, &TerminatingNull, sizeof(TerminatingNull), &BytesWritten, NULL); in WriteInitialJournalFile()
254 DWORD BytesWritten; in UpdateJournal() local
261 WriteFile(m_hJournal, &m_ListIterator, sizeof(m_ListIterator), &BytesWritten, NULL); in UpdateJournal()
/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/
H A Dcondrv.c98 WORD BytesWritten; in ConDrvWriteOutput() local
104 for (BytesWritten = 0; BytesWritten < *Length; BytesWritten++) in ConDrvWriteOutput()
107 setAL(Pointer[BytesWritten]); in ConDrvWriteOutput()
H A Dbios.c154 WORD BytesWritten; in DosPrintCharacter() local
162 &BytesWritten); in DosPrintCharacter()
/reactos/drivers/network/dd/e1000/
H A Dinfo.c78 OUT PULONG BytesWritten, in MiniportQueryInformation() argument
218 *BytesWritten = sizeof(ULONG64); in MiniportQueryInformation()
223 *BytesWritten = sizeof(ULONG); in MiniportQueryInformation()
228 *BytesWritten = 0; in MiniportQueryInformation()
253 *BytesWritten = 0; in MiniportQueryInformation()
259 *BytesWritten = copyLength; in MiniportQueryInformation()
265 *BytesWritten = 0; in MiniportQueryInformation()
270 Oid, Oid2Str(Oid), status, *BytesWritten, *BytesNeeded)); in MiniportQueryInformation()
/reactos/drivers/network/dd/dc21x4/
H A Drequests.c213 _Out_ PULONG BytesWritten, in DcQueryInformation() argument
385 *BytesWritten = 0; in DcQueryInformation()
390 *BytesWritten = sizeof(ULONG64); in DcQueryInformation()
395 *BytesWritten = sizeof(ULONG); in DcQueryInformation()
414 *BytesWritten = 0; in DcQueryInformation()
422 *BytesWritten = InfoLength; in DcQueryInformation()
461 *BytesWritten = 0; in DcQueryInformation()
468 *BytesWritten = InfoLength; in DcQueryInformation()
474 *BytesWritten = 0; in DcQueryInformation()
/reactos/sdk/lib/rtl/
H A Dmemstream.c287 _Out_opt_ PULARGE_INTEGER BytesWritten) in RtlCopyMemoryStreamTo() argument
296 if (BytesWritten) in RtlCopyMemoryStreamTo()
297 BytesWritten->QuadPart = 0; in RtlCopyMemoryStreamTo()
322 if (BytesWritten) in RtlCopyMemoryStreamTo()
323 BytesWritten->QuadPart += Amount; in RtlCopyMemoryStreamTo()
368 _Out_opt_ PULONG BytesWritten) in RtlWriteMemoryStream() argument
373 UNREFERENCED_PARAMETER(BytesWritten); in RtlWriteMemoryStream()
/reactos/base/services/umpnpmgr/
H A Dinstall.c58 DWORD BytesWritten; in InstallDevice() local
99 BytesWritten = sizeof(DWORD); in InstallDevice()
105 &BytesWritten) == ERROR_SUCCESS) in InstallDevice()
210 WriteFile(hPipe, &Value, sizeof(Value), &BytesWritten, NULL); in InstallDevice()
211 WriteFile(hPipe, InstallEventName, Value, &BytesWritten, NULL); in InstallDevice()
215 WriteFile(hPipe, &ShowWizard, sizeof(ShowWizard), &BytesWritten, NULL); in InstallDevice()
218 WriteFile(hPipe, &Value, sizeof(Value), &BytesWritten, NULL); in InstallDevice()
219 WriteFile(hPipe, DeviceInstance, Value, &BytesWritten, NULL); in InstallDevice()
/reactos/drivers/network/dd/rtl8139/
H A Dinfo.c74 OUT PULONG BytesWritten, in MiniportQueryInformation() argument
250 *BytesWritten = 0; in MiniportQueryInformation()
256 *BytesWritten = copyLength; in MiniportQueryInformation()
262 *BytesWritten = 0; in MiniportQueryInformation()
269 Oid, status, *BytesWritten, *BytesNeeded)); in MiniportQueryInformation()
/reactos/drivers/filesystems/npfs/
H A Dwrite.c41 ULONG BytesWritten, NamedPipeEnd, ReadMode; in NpCommonWrite() local
133 &BytesWritten, in NpCommonWrite()
144 ((WriteQueue->Quota - WriteQueue->QuotaUsed) < BytesWritten)) in NpCommonWrite()
146 IoStatus->Information = DataSize - BytesWritten; in NpCommonWrite()
161 DataSize - BytesWritten); in NpCommonWrite()
H A Dfsctrl.c473 ULONG InLength, OutLength, BytesWritten; in NpTransceive() local
554 &BytesWritten, in NpTransceive()
571 if (BytesWritten) in NpTransceive()
574 BytesWritten, in NpTransceive()
586 (PVOID)((ULONG_PTR)InBuffer + InLength - BytesWritten), in NpTransceive()
587 BytesWritten); in NpTransceive()
605 NewIrp->IoStatus.Information = BytesWritten; in NpTransceive()
607 IoStack->Parameters.Write.Length = BytesWritten; in NpTransceive()
610 if (BytesWritten > 0) NewIrp->Flags = IRP_DEALLOCATE_BUFFER | IRP_BUFFERED_IO; in NpTransceive()
618 BytesWritten, in NpTransceive()
/reactos/drivers/network/dd/nvnet/
H A Drequests.c760 _Out_ PULONG BytesWritten, in NvNetGetTcpTaskOffload() argument
768 *BytesWritten = 0; in NvNetGetTcpTaskOffload()
787 *BytesWritten = 0; in NvNetGetTcpTaskOffload()
796 *BytesWritten = 0; in NvNetGetTcpTaskOffload()
802 *BytesWritten = 0; in NvNetGetTcpTaskOffload()
856 *BytesWritten = InfoLength; in NvNetGetTcpTaskOffload()
978 _Out_ PULONG BytesWritten, in MiniportQueryInformation() argument
1152 *BytesWritten = 0; in MiniportQueryInformation()
1223 *BytesWritten = 0; in MiniportQueryInformation()
1260 *BytesWritten = 0; in MiniportQueryInformation()
[all …]
/reactos/dll/win32/kernel32/client/
H A Dhandle.c44 ULONG BytesWritten; in GetHandleInformation() local
59 &BytesWritten); in GetHandleInformation()
83 ULONG BytesWritten; in SetHandleInformation() local
97 &BytesWritten); in SetHandleInformation()
/reactos/sdk/tools/cabman/
H A DCCFDATAStorage.cxx220 ULONG CCFDATAStorage::WriteBlock(PCFDATA Data, void* Buffer, PULONG BytesWritten) in WriteBlock() argument
222 *BytesWritten = fwrite(Buffer, 1, Data->CompSize, FileHandle); in WriteBlock()
223 if (*BytesWritten != Data->CompSize) in WriteBlock()
H A Dcabinet.cxx39 ULONG BytesWritten;
661 ULONG BytesWritten; in ExtractFile() local
981 BytesWritten = BytesToWrite; in ExtractFile()
2493 ULONG BytesWritten; in WriteCabinetHeader() local
2549 BytesWritten = sizeof(ULONG); in WriteCabinetHeader()
2570 BytesWritten = Size; in WriteCabinetHeader()
2581 BytesWritten = Size; in WriteCabinetHeader()
2595 BytesWritten = Size; in WriteCabinetHeader()
2606 BytesWritten = Size; in WriteCabinetHeader()
2759 ULONG BytesWritten; in WriteDataBlock() local
[all …]
H A DCCFDATAStorage.h27 ULONG WriteBlock(PCFDATA Data, void* Buffer, PULONG BytesWritten);
/reactos/dll/shellext/fontext/
H A Dfontext.cpp92 DWORD BytesWritten, BytesToWrite = strlen(DesktopIniContents); in DllRegisterServer() local
93 if (WriteFile(hFile, DesktopIniContents, (DWORD)BytesToWrite, &BytesWritten, NULL)) in DllRegisterServer()
94 hr = (BytesToWrite == BytesWritten) ? S_OK : E_FAIL; in DllRegisterServer()
/reactos/drivers/filters/fltmgr/
H A DVolume.c34 ULONG BytesWritten; in FltGetVolumeProperties() local
69 BytesWritten = sizeof(FLT_VOLUME_PROPERTIES); in FltGetVolumeProperties()
95 BytesWritten = BufferRequired; in FltGetVolumeProperties()
105 *LengthReturned = BytesWritten; in FltGetVolumeProperties()
/reactos/dll/directx/d3d9/
H A Dd3d9_helpers.c43 DWORD BytesWritten; in SafeFormatString() local
50 BytesWritten = _vsnprintf(Buffer, BufferSize-1, FormatString, vargs); in SafeFormatString()
53 if (BytesWritten < BufferSize) in SafeFormatString()
/reactos/win32ss/user/winsrv/consrv/
H A Dalias.c598 ULONG BytesWritten = 0; in CON_API() local
685 BytesWritten = Offset * sizeof(WCHAR); in CON_API()
687 BytesWritten = Offset; in CON_API()
691 GetAllAliasesRequest->AliasesBufferLength = BytesWritten; in CON_API()
735 UINT BytesWritten = 0; in CON_API() local
799 BytesWritten = Offset * sizeof(WCHAR); in CON_API()
801 BytesWritten = Offset; in CON_API()
805 GetAliasesExesRequest->Length = BytesWritten; in CON_API()
/reactos/drivers/storage/ide/pciidex/
H A Dminiport.c130 ULONG i, BytesWritten; in PciIdeXSetBusData() local
158 BytesWritten = (*FdoExtension->BusInterface.SetBusData)(FdoExtension->BusInterface.Context, in PciIdeXSetBusData()
163 if (BytesWritten != BufferLength) in PciIdeXSetBusData()
/reactos/drivers/network/dd/pcnet/
H A Drequests.c90 OUT PULONG BytesWritten, in MiniportQueryInformation() argument
351 *BytesWritten = 0; in MiniportQueryInformation()
357 *BytesWritten = CopySize; in MiniportQueryInformation()
363 *BytesWritten = 0; in MiniportQueryInformation()
/reactos/boot/freeldr/fdebug/
H A Drs232.c242 DWORD BytesWritten = 0; in Rs232WriteByteWin32() local
246 Success = WriteFile(hPortHandle, &DataByte, 1, &BytesWritten, NULL); in Rs232WriteByteWin32()
248 if (!Success || BytesWritten != 1) in Rs232WriteByteWin32()
/reactos/drivers/wdm/audio/backpln/portcls/
H A Dpin_dmus.cpp180 ULONG BytesWritten; in TransferMidiData() local
192 Status = m_MidiStream->Read(Buffer, BufferSize, &BytesWritten); in TransferMidiData()
201 Status = m_MidiStream->Write(Buffer, BufferSize, &BytesWritten); in TransferMidiData()
209 if (!BytesWritten) in TransferMidiData()
215 m_IrpQueue->UpdateMapping(BytesWritten); in TransferMidiData()
/reactos/subsystems/mvdm/ntvdm/hardware/
H A Dcmos.c448 _Out_opt_ PULONG BytesWritten) in CmosWriteFile() argument
455 if (BytesWritten) in CmosWriteFile()
456 *BytesWritten = (Success ? Written : 0); in CmosWriteFile()
/reactos/base/applications/mstsc/
H A Dsettings.c203 ULONG BytesWritten; in WriteRdpFile() local
232 &BytesWritten, in WriteRdpFile()
234 if (!bRet || BytesWritten == 0) in WriteRdpFile()

1234