new file:   winpr/include/winpr/wtsapi.h
	new file:   winpr/libwinpr/wtsapi/CMakeLists.txt
	new file:   winpr/libwinpr/wtsapi/ModuleOptions.cmake
	new file:   winpr/libwinpr/wtsapi/wtsapi.c
cover the case of servers asking for cached bitmaps they have never defined
(cherry picked from commit 46a691db029912e5814b0c6fb36002a41e597825)
freerdp: fix build warnings with MSVC
wfreerdp: fix build warnings
libfreerdp-core: fix server-side update encoding edge case
libfreerdp-core: improve server-side capabilities parsing
libfreerdp-core: fix server-side secondary drawing orders encoding bugs
libfreerdp-codec: added RDP6 bitmap compression test data
libfreerdp-core: reduce usage of update_force_flush in server-side update code
libwinpr-synch: start implementing waitable timers
fix segfault due to pulse input race condition
(cherry picked from commit be5167654153cad02f821decc39ad35cd239a6ed)
libwinpr-synch: add unit tests, initial waitable timer support
codec/rfx: removed unnecessary WaitForSingleObject

The WaitForSingleObject call on TilePool's event is called with a zero time-out
interval and the event is a manual reset event ... thus no locking or waiting
is involved anyways and Queue_Dequeue may very well return NULL independently
of calling WaitForSingleObject which is already correctly handled.
careful with passwd in compatibility.c
(cherry picked from commit a4a5baf0da7c77c1d29a485f26abae6fac03a4a4)
winpr: fix build on Linux
Added proper find_feature check for JPEG library.
winpr: improve and fix locking for data structures

- Improved/completed(almost) winpr's critical section implementation
- Replaced WaitForSingleObject locking with critical sections

Note:
WaitForSingleObject should _never_ be used for granular low-contention
locks as it _always_ enters the kernel.

Just replacing WaitForSingleObject locking in Bufferpool with
EnterCriticalSection boosts the multithreaded rfx decoder
performance by almost 400% on win32.
Added proper CMake checks for libraries linked with urbdrc
Added proper CMake checks for libraries linked with urbdrc
Now using libraries detected by CMake for linking against libusb.