1// ToastActivator.idl : IDL source for ToastActivator
2//
3
4// This file will be processed by the MIDL tool to
5// produce the type library (ToastActivator.tlb) and marshalling code.
6
7import "oaidl.idl";
8import "ocidl.idl";
9
10typedef struct _NOTIFICATION_USER_INPUT_DATA
11{
12	LPCWSTR Key;
13	LPCWSTR Value;
14} NOTIFICATION_USER_INPUT_DATA;
15
16[
17	object,
18	uuid("53E31837-6600-4A81-9395-75CFFE746F94"),
19	pointer_default(ref)
20]
21
22interface INotificationActivationCallback : IUnknown
23{
24	HRESULT Activate(
25		[in, string] LPCWSTR appUserModelId,
26		[in, string] LPCWSTR arguments, // arugments from the invoked button
27		[in, size_is(count), unique] const NOTIFICATION_USER_INPUT_DATA* data, // data from all the input elements in the XML
28		[in] ULONG count);
29};
30