private void ClearReceiveCallback() { if (false == UUIRTSetReceiveCallback(_hDrvHandle, null, IntPtr.Zero)) { Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); } }