use DllImport attribute to call the Shell_NotifyIcon() API, and marshal the patameter to CLR type
check this link
Platform Invoke Data Types[
^]
[DllImport("Shell32.dll", CharSet = CharSet.Unicode)]
public static extern Int32 Shell_NotifyIcon(UInt32 message, ref NotifyIconData iconData);