2.4.8.1.1 SUD Structure

Each SUD is represented by SUD structure, which has the following format.


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

wFlags

wSUDType

SUDData (16 bytes)

...

...

wFlags (2 bytes): SUD Flags. Applicable SUD Flags depend on the associated SUD Type. The following table summarizes the SUD Flags and the types to which they are applicable. In the event that wSUDType contains a type that is not listed below, this value is undefined and is assigned a value of 0.

Value

Friendly name

Meaning

Applies To

0x0001

SUDF_PRIORITY_LOW

Change search Folder object priority to foreground.

SUDT_SRCH_MOD

0x0002

SUDF_PRIORITY_HIGH

Change search Folder object priority to background.

SUDT_SRCH_MOD

0x0004

SUDF_SEARCH_RESTART

Request full rebuild of search Folder object contents.

SUDT_SRCH_MOD

0x0008

SUDF_NAME_CHANGED

Display Name of Folder object changed.

SUDT_FLD_MOD

0x0010

SUDF_MOVE_OUT_TO_IN

Move from non-SDO domain to SDO domain.

SUDT_FLD/MSG_MOV

0x0020

SUDF_MOVE_IN_TO_IN

Move from SDO domain to SDO domain.

SUDT_FLD/MSG_MOV

0x0040

SUDF_MOVE_IN_TO_OUT

Move from SDO domain to non-SDO domain.

SUDT_MSG_MOV

0x0080

SUDF_MOVE_OUT_TO_OUT

Move between non-SDO domains.

SUDT_MSG_MOV

0x0100

SUDF_SPAM_CHECK_SERVER

Make sure spam Message object deleted on server.

SUDT_MSG_SPAM

0x0200

SUDF_SET_DEL_NAME

Delegate Root Name of Folder object changed.

SUDT_FLD_MOD

0x0400

SUDF_SRCH_DONE

Search is finished for associated object.

SUDT_SRCH_MOD

0x8000

SUDF_DOMAIN_CHECKED

Object is validated against the SDO.

SUDT_FLD/MSG_*

wSUDType (2 bytes): SUD Type. This indicated the type of update that is described in this SUD and is used as the selector field into the structure to use for SUDData. The defined SUD types are described in the following table.

Value

Friendly name

Meaning

SUDData structure

0x0000

SUDT_NULL

Invalid SUD Type.

None

0x0001

SUDT_MSG_ADD

Message added.

SUD_MSG_ADD

0x0002

SUDT_MSG_MOD

Message modified.

SUD_MSG_MOD

0x0003

SUDT_MSG_DEL

Message deleted.

SUD_MSG_DEL

0x0004

SUDT_MSG_MOV

Message moved.

SUD_MSG_MOV

0x0005

SUDT_FLD_ADD

Folder object added.

SUD_FLD_ADD

0x0006

SUDT_FLD_MOD

Folder object modified.

SUD_FLD_MOD

0x0007

SUDT_FLD_DEL

Folder object deleted.

SUD_FLD_DEL

0x0008

SUDT_FLD_MOV

Folder object moved.

SUD_FLD_MOV

0x0009

SUDT_SRCH_ADD

Search Folder object added.

SUD_SRCH_ADD

0x000A

SUDT_SRCH_MOD

Search Folder object modified.

SUD_SRCH_MOD

0x000B

SUDT_SRCH_DEL

Search Folder object deleted.

SUD_SRCH_DEL

0x000C

SUDT_MSG_ROW_MOD

Message modified, contents table affected.

SUD_MSG_MOD

0x000D

SUDT_MSG_SPAM

Message identified as spam.

SUD_MSG_SPAM

0x000E

SUDT_IDX_MSG_DEL

Content-indexed Message object deleted.

SUD_IDX_MSG_DEL

0x000F

SUDT_MSG_IDX

Message has been indexed.

SUD_MSG_IDX

SUDData (16 bytes): This is the data associated with the SUD. The structure of this data depends on the SUD Type indicated in wSUDType. Details about each structure type are specified in section 2.4.8.2.