public static extern SafeDeviceNotificationHandle RegisterDeviceNotification(IntPtr hRecipient, [In] ref _DEV_BROADCAST_HANDLE NotificationFilter, DEVICE_NOTIFY Flags);
public static extern SafeDeviceNotificationHandle RegisterDeviceNotification(IntPtr hRecipient, IntPtr NotificationFilter, DEVICE_NOTIFY Flags);
public static extern SafeHDEVNOTIFY RegisterDeviceNotification(HANDLE hRecipient, IntPtr NotificationFilter, DEVICE_NOTIFY Flags);
private static extern IntPtr RegisterDeviceNotification(IntPtr recipient, IntPtr notificationFilter, DEVICE_NOTIFY flags);
internal static extern int RegisterDeviceNotification(IntPtr handle, ref DEV_BROADCAST_HANDLE notificationFilter, DEVICE_NOTIFY flags);
internal static extern IntPtr RegisterDeviceNotification( IntPtr hRecipient, DEV_BROADCAST_DEVICEINTERFACE NotificationFilter, DEVICE_NOTIFY Flags);