共用方式為


IRDPSRAPIFrameBuffer::GetFrameBufferBits 方法 (rdpencomapi.h)

取得框架指定區域中的位。

語法

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

另請參閱

IRDPSRAPIFrameBuffer