createToastNotification static method
Implementation
static ToastNotification createToastNotification(Pointer<COMObject> content) {
final activationFactory =
CreateActivationFactory(_className, IID_IToastNotificationFactory);
try {
final result = IToastNotificationFactory.fromRawPointer(activationFactory)
.createToastNotification(content);
return ToastNotification.fromRawPointer(result);
} finally {
free(activationFactory);
}
}