3.2.5.1.7 Processing Notification Icon Orders

Notification Icon Information Orders (section 2.2.1.3.2) inform the client of the following types of notification icon events on the server:

  • Creation of a new notification icon.

  • Updates on properties for a new or existing notification icon.

  • Deletion of an existing notification icon.

Upon receipt of a Notification Icon Order for a new notification icon (the FieldsPresentFlags field of Hdr contains the WINDOW_ORDER_STATE_NEW (0x10000000) flag, as specified in section 2.2.1.3.2.2.1), the client SHOULD create a new RAIL notification icon locally. The client SHOULD store an association of the WindowId and NotifyIconId reported in the Hdr field with the local notification icon.

Upon receipt of a notification icon Order for an existing notification icon (the FieldsPresentFlags field of Hdr does not contain the WINDOW_ORDER_STATE_NEW (0x10000000) flag, as specified in section 2.2.1.3.2.2.1), the client SHOULD locate the RAIL notification icon that corresponds to the WindowId and NotifyIconId reported in the Hdr field, and then apply the specified updates to the RAIL notification icon. If no such icon can be found, the client SHOULD ignore the Order.

Upon receipt of a notification icon Order for a deleted icon, as specified in section 2.2.1.3.2.2.2, the client SHOULD locate the local RAIL notify icon that corresponds to the WindowId and NotifyIconId reported in the Hdr field and destroy it. If no such icon can be found, the client SHOULD ignore the Order.