2.2.80 FAX_EVENT_JOB

The FAX_EVENT_JOB structure defines information about notifications regarding a single job in the server's queue. This structure is embedded in the FAX_EVENT_EX (section 2.2.67) structure as a union field.

This data structure is custom marshaled as follows and uses the custom-marshaling rules defined in section 2.2.1.


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

Fixed_Portion (16 bytes)

...

...

...

Variable_Data (variable)

...

Fixed_Portion (16 bytes):


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

dwlMessageId

...

Type

pJobDataOffset

dwlMessageId (8 bytes): A DWORDLONG ([MS-DTYP] section 2.2.13) value that contains the unique identifier of the job.

Type (4 bytes): Specifies the type of information about the job. This will be one of the FAX_ENUM_JOB_EVENT_TYPE (section 2.2.71) enumeration values.

pJobDataOffset (4 bytes): If the Type field contains the FAX_JOB_EVENT_TYPE_STATUS value from the FAX_ENUM_JOB_EVENT_TYPE, this field contains an offset to the Fixed_Portion of a FAX_JOB_STATUS (section 2.2.36) structure that contains the current status of the job. Otherwise, this field is zero.

Variable_Data (variable):


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

Fixed_Portion of pStatus (120 bytes)

...

...

...

Variable_Data of pStatus (variable)

...

Fixed_Portion of pStatus (120 bytes): The Fixed_Portion of a FAX_JOB_STATUS that contains the current status of the job.

Variable_Data of pStatus (variable): The Variable_Data of a FAX_JOB_STATUS that contains the current status of the job.