DarthAffe/RGB.NET

Report Win32 errors where applicable

RobertBeekman opened this issue · 0 comments

Per example on Logitech

_dllHandle = LoadLibrary(dllPath);
if (_dllHandle == IntPtr.Zero) throw new RGBDeviceException($"Logitech LoadLibrary failed with error code {Marshal.GetLastWin32Error()}");