NotificationCenter::COMServerOptions

Options for creating COM server.

Header#include "nativeui/notification_center.h"
Namespacenamespace nu
Typestruct
PlatformsWindows

Properties

bool write_registry (optional)

Whether to register COM server in registry automatically when any event of NotificationCenter is subscribed. Default is true.

std::wstring arguments (optional)

The arguments to pass to the executable when system starts the app after a notification is activated. Default is empty string.

absl::optional<std::wstring> toast_activator_clsid (optional)

The ToastActivatorCLSID, which can be generated with uuidgen.exe. It must include a pair of curly braces. If not specified, one will be automatically generated from the app's AppUserModelID.