MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / ImageWriteBlock

Function ImageWriteBlock

source/DiskImage.cpp:192–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190//===========================================================================
191
192bool ImageWriteBlock( ImageInfo* const pImageInfo,
193 UINT nBlock,
194 LPBYTE pBlockBuffer)
195{
196 bool bRes = false;
197 if (pImageInfo->pImageType->AllowRW() && !pImageInfo->bWriteProtected)
198 bRes = pImageInfo->pImageType->Write(pImageInfo, nBlock, pBlockBuffer);
199
200 return bRes;
201}
202
203//===========================================================================
204

Callers 1

CmdExecuteMethod · 0.85

Calls 2

AllowRWMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected