DOCROUTE: Routing Slip Information (B8h)

This record stores originator information for a routing slip and other information for document routing. The rgch field contains the concatenation of seven null-terminated strings: Subject, Message, Route ID, Custom Message Type, Book Title, Originator's Friendly Name, and Originator's System-Specific Address. The lengths of the strings are contained in the seven fields, cchSubject through ulEIDSize.

Record Data

Offset

Name

Size

Contents

4

iStage

2

Routing stage

6

cRecip

2

Number of recipients

8

delOption

2

Delivery option:
= 0, one at a time
= 1, all at once

10

wFlags

2

Option flags

12

cchSubject

2

Length of the Subject string

14

cchMessage

2

Length of the Message string

16

cchRouteID

2

Length of the Route ID string

18

cchCustType

2

Length of the Custom Message Type string

20

cchBookTitle

2

Length of the Book Title string

22

cchOrg

2

Length of the Originator's Friendly Name string

24

ulEIDSize

4

Length of the Originator's System-Specific Address string

28

rgch

var

(See text)


The wFlags field contains the option flags listed in the following table.

Offset

Bits

Mask

Name

Contents

0

0

01h

fRouted

= 1 if the document has been routed

1

02h

fReturnOrig

= 1 if the document should be returned to its originator

2

04h

fTrackStatus

= 1 if the status message should be sent

3

08h

fCustomType

= 1 if the status message is a custom message type

6 – 4

70h

(Reserved)

7

80h

fSaveRouteInfo

= 1 if the routing slip information should be saved

1

7 – 0

FFh

(Reserved)