获取帧指定区域中的位。
语法
HRESULT GetFrameBufferBits(
[in] long x,
[in] long y,
[in] long Width,
long Heigth,
[out, retval] SAFEARRAY **ppBits
);
参数
[in] x
帧请求区域的 x 坐标。
[in] y
帧请求区域的 y 坐标。
[in] Width
请求的框架区域的宽度。
Heigth
[out, retval] ppBits
指定区域中帧缓冲区的内容。
返回值
如果方法成功,则返回值 S_OK。 否则,返回值为错误代码。
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows 10 [仅限桌面应用] |
| 最低受支持的服务器 | Windows Server 2016 |
| 目标平台 | Windows |
| 标头 | rdpencomapi.h |
| DLL | RdpEncom.dll |