Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-07 | setupapi: Rename SP_DEVINFO_DATA to DevInfoData | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-07 | wintun: Detect if a foreign interface with the same name exists | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-07 | wintun: Clean excessive setupapi.DevInfo.GetDeviceInfoListDetail() call | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-07 | wintun: Explain rationale behind case-insensitive interface names | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-07 | wintun: Implement TODO in TestSetupDiGetDeviceRegistryProperty() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-07 | wintun: add FlushInterface stub | Jason A. Donenfeld | |
2019-02-07 | main_windows: Get iface name from argument | Jason A. Donenfeld | |
2019-02-07 | wintun: Compare values of GUID, not pointers, when removing | Jason A. Donenfeld | |
2019-02-07 | main_windows: Catch more exit events | Jason A. Donenfeld | |
2019-02-07 | wintun: Introduce new package for obscuring Windows bits | Jason A. Donenfeld | |
2019-02-07 | tun_windows: Style | Jason A. Donenfeld | |
2019-02-07 | setupapi: Lower case params | Jason A. Donenfeld | |
2019-02-07 | setupapi: Do not export the toGo/toWindows functions | Jason A. Donenfeld | |
2019-02-07 | setupapi: Pass pointers instead of values | Jason A. Donenfeld | |
2019-02-06 | tun_windows: Introduce preliminary TUN interface creation | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-06 | tun_windows: Stop checking minimum size of received TUN packets | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-06 | setupapi: Add DrvInfoDetailData.IsCompatible() to simplify HID detection | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-06 | setupapi: Add SP_DRVINFO_DATA.IsNewer() method to simplify comparison | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-06 | setupapi: Make toUTF16() public and add UTF16ToBuf() counterpart | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Fix up errors and paths | Jason A. Donenfeld | |
2019-02-05 | conn: close ipv4 socket when ipv6 socket fails | Jason A. Donenfeld | |
2019-02-05 | setupapi: Add support for driver info lists | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | setupapi: Move Go<>Windows struct marshaling to types_windows.go | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | setupapi: Add support for SetupDi(Get|Set)DeviceRegistryProperty() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | setupapi: Introduce DevInfo methods for cleaner code | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDi(Get|Set)SelectedDevice() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Reorder data-types and functions to match SetupAPI.h | Simon Rozman | |
Adding functions with non-consistent order made setupapi package a mess. While we could reorder data-types and functions by alphabet - it would make searching easier - it would put ...Get... and ...Set... functions quite apart. Therefore, the SetupAPI.h order was adopted. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiCreateDeviceInfo() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.setupDiCreateDeviceInfoListEx() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Stop accessing SetupDiGetDeviceInfoListDetail() output on error | Simon Rozman | |
The data returned by SetupDiGetDeviceInfoListDetail() is nil on error which will cause the test to crash should the function fail. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Unify certain variable names | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Simplify SetupDiEnumDeviceInfo() synopsis | Simon Rozman | |
The SetupDiEnumDeviceInfo() now returns a SP_DEVINFO_DATA rather than taking it on input to fill it on return. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Change generic local variable names with meaningful replacements | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiClassGuidsFromNameEx() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Clean an unused constant | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Replace SetupDiClassNameFromGuid() with SetupDiClassNameFromGuidEx() | Simon Rozman | |
The former is only a subset of the later. To minimize future maintenance, we'll provide support for extended version only. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiClassNameFromGuid() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Stop checking for valid handle in DevInfo.Close() | Simon Rozman | |
User should not have called or deferred the Close() method should SetupDiGetClassDevsEx() return an error (and invalid handle). And even if user does that, a SetupDiDestroyDeviceInfoList(INVALID_HANDLE_VALUE) is harmless. It just returns ERROR_INVALID_HANDLE - we have a unit test for this in TestSetupDiDestroyDeviceInfoList(). Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiCallClassInstaller() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDi(Get|Set)ClassInstallParams() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDi(Get|Set)DeviceInstallParams() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiOpenDevRegKey() | Simon Rozman | |
Furthermore setupapi.DevInfoData has been obsoleted. SetupDiEnumDeviceInfo() fills existing SP_DEVINFO_DATA structure now. As other functions of SetupAPI use SP_DEVINFO_DATA, converting it to DevInfoData and back would hurt performance. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiEnumDeviceInfo() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Update exported types and functions annotations | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiGetDeviceInfoListDetail() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Finish support for setupapi.SetupDiGetClassDevsEx() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Introduce SetupAPI - Windows device and driver management API | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Import windows scafolding | Jason A. Donenfeld | |
2019-02-05 | noise: store clamped key instead of raw key | Jason A. Donenfeld | |
2019-02-05 | tai64n: whiten nano seconds | Jason A. Donenfeld | |
Avoid being too precise of a time oracle. |