إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
Retrieves the current desktop region being shared.
Syntax
HRESULT GetDesktopSharedRect(
[out] long *pleft,
[out] long *ptop,
[out] long *pright,
[out] long *pbottom
);
Parameters
[out] pleft
Type: long*
X-coordinate of the upper-left corner of the shared rectangle.
[out] ptop
Type: long*
Y-coordinate of the upper-left corner of the shared rectangle.
[out] pright
Type: long*
X-coordinate of the lower-right corner of the shared rectangle.
[out] pbottom
Type: long*
Y-coordinate of the lower-right corner of the shared rectangle.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | rdpencomapi.h |
| DLL | RdpEncom.dll |