| 190 | //=========================================================================== |
| 191 | |
| 192 | bool 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 |
no test coverage detected