2.10.2 PATCH_BLK

 The PATCH_BLK structure splits the patch process into more easily handled smaller-sized blocks.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ulPatchSize

ulTargetSize

ulSourceSize

ulCRC

data (variable)

...

ulPatchSize (4 bytes):  A 32-bit unsigned integer value that specifies the size of the data field in bytes.

ulTargetSize (4 bytes):  A 32-bit unsigned integer value that specifies the size in bytes of the output target block to be written to the output file.

ulSourceSize (4 bytes):  A 32-bit unsigned integer value that specifies the size in bytes of the source input block to be read from the source input file and used to generate the output block.

ulCRC (4 bytes):  A 32-bit unsigned integer value that specifies the CRC hash of the resulting target block.

data (variable):  A byte stream of Lempel-Ziv Extended Delta (LZXD) compressed differences to apply to the source Verbatim block that results in the target Verbatim block. For more details, see [MS-PATCH].