* include/wtsapi32.h (WTSVirtualChannelClose): Add declaration.
(WTSVirtualChannelOpen): Ditto. (WTSVirtualchannelOpenEx): Ditto. (WTSVirtualChannelPurgeInput): Ditto. (WTSVirtualChannelPurgeOutput): Ditto. (WTSVirtualChannelQuery): Ditto. (WTSVirtualChannelRead): Ditto. (WTSVirtualChannelWrite): Ditto. * lib/wtsapi32.def (WTSVirtualChannelOpenEx@12): Add import.
This commit is contained in:
parent
15d7cca236
commit
30ea43437c
@ -2,6 +2,15 @@
|
||||
|
||||
* include/winuser.h (tagMENUITEMINFOA): Correct dwItemData definition.
|
||||
(tagMENUITEMINFOW): Ditto.
|
||||
* include/wtsapi32.h (WTSVirtualChannelClose): Add declaration.
|
||||
(WTSVirtualChannelOpen): Ditto.
|
||||
(WTSVirtualchannelOpenEx): Ditto.
|
||||
(WTSVirtualChannelPurgeInput): Ditto.
|
||||
(WTSVirtualChannelPurgeOutput): Ditto.
|
||||
(WTSVirtualChannelQuery): Ditto.
|
||||
(WTSVirtualChannelRead): Ditto.
|
||||
(WTSVirtualChannelWrite): Ditto.
|
||||
* lib/wtsapi32.def (WTSVirtualChannelOpenEx@12): Add import.
|
||||
|
||||
2012-07-29 Earnie Boyd <earnie@users.sourceforge.net>
|
||||
|
||||
|
@ -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
|
||||
|
@ -27,6 +27,7 @@ WTSTerminateProcess@12
|
||||
WTSUnRegisterSessionNotification@4
|
||||
WTSVirtualChannelClose@4
|
||||
WTSVirtualChannelOpen@12
|
||||
WTSVirtualChannelOpenEx@12
|
||||
WTSVirtualChannelPurgeInput@4
|
||||
WTSVirtualChannelPurgeOutput@4
|
||||
WTSVirtualChannelQuery@16
|
||||
|
Loading…
Reference in New Issue
Block a user