|
JWSCL Documentation
|
TJwWTSEventThread = class(TJwThread);
The TJwWTSEventThread Thread waits for Terminal Server Events and notifies the caller by firing Events.
It's not necessary to manually create an TJwWTSEventThread Thread because TJwTerminalServer does this automatically after a successfull call to the EnumerateSessions function.
TJwWTSEventThread is Owned by a TJwTerminalServer instance
TJwWTSEventThread uses the WTSWaitSystemEvent API Call which can hang on Windows Vista after sending a WTS_FLUSH event. The bug was first corrected in winsta.dll version 6.0.6000.20664.
http://www.remkoweijnen.nl/blog/2008/01/25/using-wtswaitsystemevent/
|
Name |
Description |
|
The following tables list the members exposed by TJwThread. | |
|
The methods of the TJwThread class are listed here. | |
|
The properties of the TJwThread class are listed here. |
|
Name |
Description |
|
The following tables list the members exposed by TJwWTSEventThread. | |
|
The methods of the TJwWTSEventThread class are listed here. |
|
|
Name |
Description |
![]() |
Execute is the main execution procedure of thread. Override it and call it at first. | |
|
This is GetReturnValue, a member of class TJwThread. | |
|
WaitWithTimeOut waits for the thread to finish or until a timeout occurs. |
|
|
Name |
Description |
![]() |
|
|
|
Name |
Description |
|
Name sets or gets the threads name. The name is retrieved from internal variable. Changing the thread's name using foreign code does not afect this property. |
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|