Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Writes data to the server end of a virtual channel.
Syntax
BOOL WTSVirtualChannelWrite(
[in] HANDLE hChannelHandle,
[in] PCHAR Buffer,
[in] ULONG Length,
[out] PULONG pBytesWritten
);
Parameters
[in] hChannelHandle
Handle to a virtual channel opened by the WTSVirtualChannelOpen function.
[in] Buffer
Pointer to a buffer containing the data to write to the virtual channel.
[in] Length
Specifies the size, in bytes, of the data to write.
[out] pBytesWritten
Pointer to a variable that receives the number of bytes written.
Return value
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Remarks
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | wtsapi32.h |
| Library | Wtsapi32.lib |
| DLL | Wtsapi32.Dll |