Microsoft KB Archive/22418

Byte Breakdown of PCSDs in the .PRD File

PSS ID Number: Q22418 Article last modified on 11-02-1994

3.x

MS-DOS

Problem:

What is stored in the 4 and 6 bytes needed in short and long PCSDs?

Response:

The breakdown of the 4 bytes in a short PCSD are as follows:


 * 1) 2 bytes for the pointer
 * 2) 1 byte for the mod
 * 3) 1 byte string length

The breakdown of the 6 bytes in a long PCSD are as follows:


 * 1) 2 bytes for the pointer
 * 2) 1 byte for the mod
 * 3) 1 byte for the string length
 * 4) 1 byte for the magic
 * 5) 1 byte for the value

KBCategory: kbother KBSubcategory: Additional reference words:

=
================================================================ Copyright Microsoft Corporation 1994.