[DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_property")]
internal static extern ErrorCode GetProperties(NotificationSafeHandle handle, out int flags);
- [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_extention_data")]
+ [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_extension_data")]
internal static extern ErrorCode GetExtender(NotificationSafeHandle handle, string key, out SafeBundleHandle value);
[DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_clone")]
internal static extern ErrorCode NotificationListFree(IntPtr list);
[DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_args")]
- internal static extern ErrorCode GetExtentionBundle(NotificationSafeHandle handle, out IntPtr args, out IntPtr groupArgs);
+ internal static extern ErrorCode GetExtensionBundle(NotificationSafeHandle handle, out IntPtr args, out IntPtr groupArgs);
[DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_hide_timeout")]
internal static extern ErrorCode GetHideTimeout(NotificationSafeHandle handle, out int timeout);
[DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_default_button")]
internal static extern ErrorCode GetDefaultButton(NotificationSafeHandle handle, out int index);
+ [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_extension_event_handler")]
+ internal static extern ErrorCode GetExtensionAction(NotificationSafeHandle handle, UserEventType type, out SafeAppControlHandle appcontrol);
+
+ [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_load")]
+ internal static extern IntPtr LoadNotification(string appID, int uniqueID);
+
+ [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_all_count")]
+ internal static extern ErrorCode GetAllCount(NotificationType type, out int count);
+
internal static ErrorCode GetAppId(NotificationSafeHandle handle, out string appid)
{
ErrorCode err;