NOTIFICATION_USER_INPUT_DATA structure (notificationactivationcallback.h)

Contains information about how a user interacted with a notification toast in the action center. This structure is used by Activate.

Syntax

typedef struct NOTIFICATION_USER_INPUT_DATA {
  LPCWSTR Key;
  LPCWSTR Value;
} NOTIFICATION_USER_INPUT_DATA;

Members

Key

The ID of the user input field in the XML payload.

Value

The input value selected by the user for a given input field.

Remarks

Each key-value pair contains a piece of information based on an item in the notification toast when the Activate callback is triggered.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server None supported
Header notificationactivationcallback.h

See also

Respond to toast activations