| 
    PrimoBurner for .NET
    5.0
    
   CD, DVD and Blu-ray Software Development Kit 
   | 
 
Mode 2 Formed (Form1 or Form2) Sub-header structure. More...
Public Attributes | |
| byte | BlockType | 
| Mode 2 block type.   | |
| byte | ChannelNumber | 
| Playback channel selection.  | |
| byte | CodingInformation | 
| Coding Information.   | |
| byte | FileNumber | 
| Identifies the file to which the block belongs.  | |
Mode 2 Formed (Form1 or Form2) Sub-header structure.
Two copies of the Mode 2 sub-header are stored in the first 8 bytes of every Mode2 Form1 or Mode2 Form2 (also known as Mode2 Formed) sectors. The sub-header keeps information about the sector type and the type of data stored in the sector. Mode 2 sectors are used primarily in Video CD (VCD) and Super Video CD ((S)VCD) applications but also could be used to store any kind of data.
Structure of Mode 2 Form1 block:
| 4 bytes | Mode 2 Formed Sector Sub-header structure first copy. | 
| 4 bytes | Mode 2 Formed Sector Sub-header structure second copy. | 
| 2048 bytes | User data. | 
| 280 bytes | EDC/ECC checksums. The EDC/ECC bytes should be allocated and set to zero from the application. The device and the engine calculate and fill in the EDC/ECC data during the burning process. | 
Structure of Mode 2 Form2 block:
| 4 bytes | Mode 2 Formed Sector Sub-header structure first copy. | 
| 4 bytes | Mode 2 Formed Sector Sub-header structure second copy. | 
| 2324 bytes | User data. | 
| 4 bytes | CRC. The CRC bytes should be allocated and set to zero from the application. The device and the engine calculate and fill in the correct CRC bytes during the burning process. | 
| byte BlockType | 
Mode 2 block type.
This is a combination of flags defined in the Mode2BlockType enumeration. See the Mode2BlockType enumeration for more details
| byte CodingInformation | 
Coding Information.
This member should be set to 0