MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / write

Method write

Engine/source/platformWin32/winVolume.cpp:509–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509U32 Win32File::write(const void* src, U32 size)
510{
511 if ((mStatus != Open && mStatus != EndOfFile) || !size)
512 return 0;
513
514 DWORD bytesWritten;
515 if (!::WriteFile((HANDLE)mHandle,src,size,&bytesWritten,0))
516 _updateStatus();
517 return bytesWritten;
518}
519
520void Win32File::_updateStatus()
521{

Callers 12

dumpMethod · 0.45
countUnflaggedAllocsFunction · 0.45
initLogFunction · 0.45
logAllocFunction · 0.45
logReallocFunction · 0.45
logFreeFunction · 0.45
platformMemory.cppFile · 0.45
submitPacketMethod · 0.45
_writeMethod · 0.45
packUpdateMethod · 0.45
CreateMiniDumpFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected