diff options
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r-- | winsup/w32api/include/wtsapi32.h | 52 |
1 files changed, 51 insertions, 1 deletions
diff --git a/winsup/w32api/include/wtsapi32.h b/winsup/w32api/include/wtsapi32.h index 5bd09bbbd..298acb9b6 100644 --- a/winsup/w32api/include/wtsapi32.h +++ b/winsup/w32api/include/wtsapi32.h @@ -74,7 +74,7 @@ BOOL WINAPI WTSQueryUserToken(ULONG SessionId, PHANDLE pToken); #endif /* _WIN32_WINNT >= 0x0501 */ -#if (_WIN32_WINNT >= 0x0500) +#if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K) typedef struct _WTS_SESSION_INFOW { DWORD SessionId; @@ -168,6 +168,56 @@ BOOL WTSSendMessageW( #define WTSSendMessage WTSSendMessageA #endif +BOOL WTSVirtualChannelClose( + __in HANDLE hChannelHandle +); + +HANDLE WTSVirtualChannelOpen( + __in HANDLE hServer, + __in DWORD SessionId, + __in LPSTR pVirtualName +); + +#if _WIN32_WINNT >= _WIN32_WINNT_VISTA +HANDLE WTSVirtualChannelOpenEx( + __in DWORD SessionId, + __in LPSTR pVirtualName, + __in DWORD flags +); +#endif + +BOOL WTSVirtualChannelPurgeInput( + __in HANDLE hChannelHandle +); + +BOOL WTSVirtualChannelPurgeOutput( + __in HANDLE hChannelHandle +); + +#if _WIN32_WINNT >= _WIN32_WINNT_WINXP +BOOL WTSVirtualChannelQuery( + __in HANDLE hChannelHandle, + __in WTS_VIRTUAL_CLASS WtsVirtualClass, + __out PVOID *ppBuffer, + __out DWORD *pBytesReturned +); +#endif + +BOOL WTSVirtualChannelRead( + __in HANDLE hChannelHandle, + __in ULONG TimeOut, + __out PCHAR Buffer, + __in ULONG BufferSize, + __out PULONG pBytesRead +); + +BOOL WTSVirtualChannelWrite( + __in HANDLE hChannelHandle, + __in PCHAR Buffer, + __in ULONG Length, + __out PULONG pBytesWritten +); + #endif /* _WIN32_WINNT >= 0x0500 */ #ifdef __cplusplus |