windows_toastactivator.idl 743 B

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