init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
29
Telegram/SourceFiles/platform/win/windows_toastactivator.idl
Normal file
29
Telegram/SourceFiles/platform/win/windows_toastactivator.idl
Normal file
@@ -0,0 +1,29 @@
|
||||
// ToastActivator.idl : IDL source for ToastActivator
|
||||
//
|
||||
|
||||
// This file will be processed by the MIDL tool to
|
||||
// produce the type library (ToastActivator.tlb) and marshalling code.
|
||||
|
||||
import "oaidl.idl";
|
||||
import "ocidl.idl";
|
||||
|
||||
typedef struct _NOTIFICATION_USER_INPUT_DATA
|
||||
{
|
||||
LPCWSTR Key;
|
||||
LPCWSTR Value;
|
||||
} NOTIFICATION_USER_INPUT_DATA;
|
||||
|
||||
[
|
||||
object,
|
||||
uuid("53E31837-6600-4A81-9395-75CFFE746F94"),
|
||||
pointer_default(ref)
|
||||
]
|
||||
|
||||
interface INotificationActivationCallback : IUnknown
|
||||
{
|
||||
HRESULT Activate(
|
||||
[in, string] LPCWSTR appUserModelId,
|
||||
[in, string] LPCWSTR arguments, // arugments from the invoked button
|
||||
[in, size_is(count), unique] const NOTIFICATION_USER_INPUT_DATA* data, // data from all the input elements in the XML
|
||||
[in] ULONG count);
|
||||
};
|
||||
Reference in New Issue
Block a user