History log of /external/libusb/libusb/os/windows_common.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
33f51ea92fba4b69159924b565da53f6b57e8830 28-Jan-2016 KIMURA Masaru <hiyuh.root@gmail.com> Windows: Move definitions for Cygwin.

Closes #145

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
/external/libusb/libusb/os/windows_common.h
57cfbb444e03179a4e4eafba18416209f0db1d1c 28-Jan-2016 Chris Dickens <christopher.a.dickens@gmail.com> Windows/WinCE: Improve the run-time dynamic linking scheme

Prior to this commit, the Windows and WinCE backends had a specific
shortcoming when loading DLLs, that being that once loaded they were
never unloaded. This commit improves this by providing a means to
unload the DLLs during cleanup.

Note that the use of GetModuleHandle() has been removed in favor of
the exclusive use of LoadLibrary(). This was done to ensure that a
reference count is taken against the loaded DLL, which guards against
some other part of the application unloading the DLL that libusb
is currently using.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
/external/libusb/libusb/os/windows_common.h
a3ec36d3ecc268d2f8b9f1f9800cd438c57cab56 27-Jan-2016 Chris Dickens <christopher.a.dickens@gmail.com> Windows: Source file cleanup

This commit addresses a few different issues:

1) Whitespace made consistent with the rest of the library source
2) Formatting of function and variable declarations made consistent
with the rest of the library source
3) Functions and variables made static where possible
4) Definitions in header files moved if not used publicly

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
/external/libusb/libusb/os/windows_common.h
d473d0b2e642abe2a9219011f8684d9eb9736ec1 03-Jun-2015 Tim Hutt <tdhutt@gmail.com> Use locally defined MIN macro instead of min which is (possibly) defined in windows.h

Some users have to define NOMINMAX which means that windows.h doesn't define min() or max(). Instead of relying on it it is better to use a locally defined function / macro. Fortunately libusbi.h already defines MIN and MAX so we can just use those.

* Closes #72
* Closes #73

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
/external/libusb/libusb/os/windows_common.h
1eff220474f63d7ea7f8f99bef2a3da9da5324eb 09-Jan-2014 hjelmn@cs.unm.edu <hjelmn@cs.unm.edu> Misc: Revert all references to libusb/libusb.info
/external/libusb/libusb/os/windows_common.h
894e65649cda90fd0404b816a16585e2efffb1cd 12-Mar-2013 Pete Batard <pete@akeo.ie> Windows: Fix multiple warnings

* Most of these warnings are false positive from VS2012's "Run Code Analysis"
* Also closes #98: "windows_usb.c:376:30: 'dev_info' may be used uninitialized"
/external/libusb/libusb/os/windows_common.h
baf714f5e0f22b968cea0e747c23eeced44f602e 03-Mar-2013 Pete Batard <pete@akeo.ie> WinCE: Post integration cleanup

* Update copyrights and switch to UTF-8 everywhere
* Add SleepEx() to missing.h, and move include to libusbi.h
* Remove ifdef for GetSystemTimeAsFileTime()
/external/libusb/libusb/os/windows_common.h
0ded9c126e9b48b5ed217e60d392cfb882cbc351 27-Feb-2013 Pete Batard <pete@akeo.ie> Misc: Simplify includes and misc. cleanup

* fxload sample provenance
* No need for <sys/types.h> in samples as already in libusb.h
* Don't bother about sscanf_s in xusb
* Use HAVE_### and rely on config.h where possible
* Formal inclusion of <winsock.h> in libusb.h for WinCE and WDK
* Cleanup of Windows' config.h
* Avoid ENAMETOOLONG and ENOTEMPTY conflict between errno.h and winsock.h for WinCE
* Additional newlines & braces cleanup
/external/libusb/libusb/os/windows_common.h
788e433d0a628fc8aa2aca3b23c1f64b16d5f4be 15-Jan-2013 Toby Gray <toby.gray@realvnc.com> Windows: Add windows_common.h header

* This file contains definition that will be shared between the
Windows and Windows CE backends
/external/libusb/libusb/os/windows_common.h