Compartir a través de


NotifyPacket (Windows CE 5.0)

Send Feedback

This structure describes a notification event and is used for low-level communication between OEM code and the notification subsystem.

struct NotifyPacket {  NotifyPacket* pNext;  NotifyPacket* pPrev;  unsigned int uiPacketType;  CEOID oidRecord;  HICON hIcon;  HICON hBigIcon;  int fHasIcon;  HWND hDlg;  void* pExtraUIData;  PersistentPacket* sPacket; };

Members

  • pNext
    Points to the next NotifyPacket structure in the list. Used internally only.
  • pPrev
    Points to the previous NotifyPacket structure in the list. Used internally only.
  • uiPacketType
    Describes the type of packet, which can be one of the values shown in the following table.
    Value Description
    PACKET_UI Identifies a UI element to be displayed when the event occurs.
    PACKET_MMMASK Identifies multimedia events to be initiated when the event occurs. Combines vibration, sound, and LED.
    PACKET_VIBR Identifies a vibration mechanism to be activated when the event occurs.
    PACKET_SOUND Identifies a sound to be played when the event occurs.
    PACKET_LED Identifies an LED to be displayed when the event occurs.
  • oidRecord
    Database record ID of the notification event.
  • hIcon
    16x16 icon associated with the event.
  • hBigIcon
    32x32 icon associated with the event.
  • fHasIcon
    Set to TRUE if the event has an icon. Set to FALSE if the event does not have an icon.
  • hDlg
    Handle to the dialog associated with the event.
  • pExtraUIData
    Pointer to extra data associated with the event, for example, a customized dialog box.
  • sPacket
    PersistentPacket structure associated with the event.

Remarks

See %_WINCEROOT%\Public\Common\Oak\Notify\Notifext.cxx for implementation examples.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Notifext.hxx.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.