Closes an open window station handle
#include <WinAPISys.au3>
_WinAPI_CloseWindowStation ( $hStation )
$hStation | Handle to the window station to be closed. |
Success: | True. |
Failure: | False, call _WinAPI_GetLastError() to get extended error information. |
The _WinAPI_CloseWindowStation() function will fail if the handle being closed is for the window station assigned to the calling process.
_WinAPI_CreateWindowStation, _WinAPI_OpenWindowStation
Search CloseWindowStation in MSDN Library.