setNotifySink method

void setNotifySink(
  1. ISpNotifySink? pNotifySink
)

Throws a WindowsException on failure.

Implementation

@pragma('vm:prefer-inline')
void setNotifySink(ISpNotifySink? pNotifySink) {
  final hr$ = HRESULT(_SetNotifySinkFn(ptr, pNotifySink?.ptr ?? nullptr));
  if (hr$.isError) throw WindowsException(hr$);
}