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

Function ImageReadBlock

source/DiskImage.cpp:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177//===========================================================================
178
179bool ImageReadBlock( ImageInfo* const pImageInfo,
180 UINT nBlock,
181 LPBYTE pBlockBuffer)
182{
183 bool bRes = false;
184 if (pImageInfo->pImageType->AllowRW())
185 bRes = pImageInfo->pImageType->Read(pImageInfo, nBlock, pBlockBuffer);
186
187 return bRes;
188}
189
190//===========================================================================
191

Callers 1

CmdExecuteMethod · 0.85

Calls 2

AllowRWMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected