/* Converts a three byte length value into a UINT32. */
UINT32 GetLength(UINT8 *ThreeByteLength)
/* Converts a three byte length value into a UINT32. */
UINT32 GetLength(UINT8 *ThreeByteLength)
{
  UINT32  Length;
  if (ThreeByteLength == NULL) {
    return 0;
  }
  Length  = *((UINT32 *) ThreeByteLength);
  Length  = Length & 0x00FFFFFF;
  return Length;
}