Bernhard Miklautz
850de59b55
winpr: add checks for *alloc
...
Add missing checks if memory allocation was successful. Also adapt
caller(s) when possible.
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
0b902eeb5d
wtsapi: add WTSStartRemoteControlSessionEx
...
WTSStartRemoteControlSession doesn't allow to specify additional flags
therefore add a new extended version WTSStartRemoteControlSessionEx
with an additional "flags" parameter.
The following flags are defined:
REMOTECONTROL_FLAG_DISABLE_KEYBOARD - disable keyboard input
REMOTECONTROL_FLAG_DISABLE_MOUSE - disable mouse input
REMOTECONTROL_FLAG_DISABLE_INPUT - disable input (keyboard and mouse)
2015-02-16 12:16:54 +01:00
Bernhard Miklautz
67fb97f68f
wtsapi: add TestWtsApiExtra
...
Move wtsapi tests that only make sense when run within a session
("interactive") to TestWtsApiExtra since they either brake automated
builds or don't make sense if the return value isn't checked.
TestWtsApiExtra is not build by default but can be enabled by specifying
-DTESTS_WTSAPI_EXTRA=ON (this option is only available if BUILD_TESTING
is enabled).
The tests set the ctest label WTSAPI_EXTRA and can therefore also
be run explicitly with ctest -L WTSAPI_EXTRA.
2015-02-10 18:05:40 +01:00
Martin Haimberger
256b420afc
wtsapi: extended wtsapi
...
- added missing definitions for session change notification
- extended wtsapi to allow remote logon and logoff against the wtsapi (this allows remote wtsapi usage)
2015-02-09 06:30:18 -08:00
Armin Novak
5075aec5a2
Added function WTSErrorToString to get a string from an error code.
2015-01-20 11:03:21 +01:00
Armin Novak
c3f47128db
Fixed header include.
2014-11-17 01:39:45 +01:00
Armin Novak
8d4589b1e1
Replaced fprintf error messages with WLog.
2014-11-16 12:21:38 +01:00
Marc-André Moreau
c5c9423ccf
winpr: fix Win32 build warnings
2014-11-04 10:44:55 -05:00
Marc-André Moreau
f6b3b24c22
winpr: add new line ending, utf16 byte order swap functions
2014-10-16 18:07:44 -04:00
Marc-André Moreau
e0a063a3f9
libwinpr-wtsapi: improve Win32 winsta.dll-based channel API
2014-10-14 19:25:41 -04:00
Marc-André Moreau
f837ba3caa
libwinpr-wtsapi: implement overlapped i/o event handle Win32 wrapper
2014-10-14 15:23:07 -04:00
Marc-André Moreau
398eab35d4
libwinpr-wtsapi: add Win32 winsta.dll-based VC implementation
2014-10-13 10:55:11 -04:00
Marc-André Moreau
d5cbadee9d
libwinpr-utils: improve .ini file parser
2014-10-02 18:45:53 -04:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
7e3a1b3073
Now using macro to generate module specific log tag.
2014-09-09 16:32:04 +02:00
Armin Novak
28ece6bb46
Replaced stdio logging with WLog
2014-09-09 16:31:46 +02:00
Marc-André Moreau
1ba42dccf3
shadow: improve DXGI support
2014-08-12 16:57:58 -04:00
Marc-André Moreau
8321d7ffad
libfreerdp-codec: fix OpenH264 usage thanks to @erbth's hack
2014-07-28 17:22:02 -04:00
Marc-André Moreau
2036b443eb
libwinpr-wtsapi: fix WtsApi32.dll dynamic loading on Windows
2014-07-26 15:23:39 -04:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
247beff1b3
winpr: fix test compilation on Windows
2014-05-22 13:50:01 -04:00
Bernhard Miklautz
0bcd933e70
wtsapi: add fallback to load freerds lib
...
Try to load libfreerds-fdsapi.so directly if the freerds ini file
isn't found. This adds a fallback that uses the systems library
loading mechanisms (e.g LD_LIBRARY_PATH).
Might also be required for older version of FreeRDS.
2014-04-28 16:54:58 +02:00
Bernhard Miklautz
bc73a554fc
wtsapi: replaced printf with fprintf
2014-04-28 16:48:24 +02:00
Bernhard Miklautz
21bcf31c43
wtsapi: consolidate lib initialization and load
...
Move duplicated code to LoadAndInitialize.
2014-04-28 16:46:07 +02:00
Marc-André Moreau
6e2699d2d6
libwinpr-wtsapi: fix failing tests
2014-04-27 21:54:21 -04:00
Marc-André Moreau
314acdb5fc
winpr: fix missing link dependencies
2014-04-27 21:45:50 -04:00
Marc-André Moreau
b67288868d
Merge branch 'master' of github.com:awakecoding/FreeRDP into fdsapi
2014-04-27 19:18:23 -04:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Marc-André Moreau
934a5d497b
winpr: fix failing unit tests
2014-04-09 10:01:58 -04:00
Marc-André Moreau
64b550e18f
libwinpr-utils: fix .ini parser whitespace trimming
2014-03-25 00:32:05 -04:00
Marc-André Moreau
822b07eb3e
Merge branch 'master' of github.com:awakecoding/FreeRDP into fdsapi
2014-03-24 11:56:30 -04:00
Benoit LeBlanc
23d80d78b7
added missing cast for GetProcAddress
2014-03-19 11:52:12 -04:00
Marc-André Moreau
2c17f438f8
libwinpr-wtsapi: extend WtsApiQuerySessionInformation unit tests
2014-03-17 16:39:35 -04:00
Marc-André Moreau
5cf4a00658
libwinpr-wtsapi: add support for WTSAPI_LIBRARY environment variable
2014-03-17 12:16:07 -04:00
Marc-André Moreau
b813189266
libwinpr-wtsapi: fix linker issue
2014-03-12 11:40:39 -04:00
Marc-André Moreau
707f3c0692
libwinpr-wtsapi: add missing link dependency
2014-03-12 10:02:26 -04:00
Marc-André Moreau
bb5c5dcaf0
libwinpr-wtsapi: start adding support for dynamically loaded FreeRDS-provided WTSAPI implementation
2014-03-01 00:32:23 -05:00
Marc-André Moreau
6695873394
libwinpr-wtsapi: fix multiple inconsistencies with original wtsapi headers
2014-02-28 14:49:57 -05:00
Marc-André Moreau
a143a70114
libfreerdp-core: link against libwinpr-wtsapi, dynamically register proper WtsApi implementation in FreeRDS
2014-02-16 20:41:19 -05:00
Marc-André Moreau
1afeb448b4
libfreerdp-core: expose stubbed WtsApi function table from the core
2014-02-16 20:12:45 -05:00
Marc-André Moreau
cf274e3523
libwinpr-wtsapi: make use of static function table
2014-02-16 19:38:12 -05:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Marc-André Moreau
9c536cfe01
libwinpr-wtsapi: fix build after changes to libwinpr-nt
2013-10-22 21:43:59 -04:00
Marc-André Moreau
518995a05e
freerdp: merge with master
2013-09-16 17:10:27 -04:00
Bernhard Miklautz
90c2cb22ab
winpr: fixed test building
2013-08-29 09:44:41 +02:00
Marc-André Moreau
e429136c0c
libwinpr-wtsapi: started internal RPC stubs
2013-08-23 00:06:22 -04:00
Marc-André Moreau
8423fccbc2
libwinpr-pipe: add support for overlapped i/o with named pipes (synchronous, compatible implementation)
2013-08-22 22:36:37 -04:00
Marc-André Moreau
c1625c1ead
libwinpr-wtsapi: start implementation, extend NtApi
2013-08-22 19:20:59 -04:00
Marc-André Moreau
cea6de16ee
libwinpr-wtsapi: add VC API
2013-08-20 15:22:31 -04:00
Marc-André Moreau
9d1dd14581
libwinpr-wtsapi: updated interface definition
2013-08-19 20:58:42 -04:00