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

Method write

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

Source from the content-addressed store, hash-verified

516}
517
518U32 Win32File::write(const void* src, U32 size)
519{
520 if ((mStatus != Open && mStatus != EndOfFile) || !size)
521 return 0;
522
523 DWORD bytesWritten;
524 if (!::WriteFile((HANDLE)mHandle,src,size,&bytesWritten,0))
525 _updateStatus();
526 return bytesWritten;
527}
528
529void Win32File::_updateStatus()
530{

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