IMsRdpClient8::Reconnect method
Reconnects to the remote session with the new desktop width and height. The control must already be connected to a remote session for this method to succeed.
Syntax
HRESULT Reconnect( [in] ULONG ulWidth, [in] ULONG ulHeight, [out, retval] ControlReconnectStatus *pReconnectStatus );
Parameters
- ulWidth [in]
-
Type: ULONG
The new desktop width, in pixels. See the DesktopWidth property for value restrictions.
- ulHeight [in]
-
Type: ULONG
The new desktop height, in pixels. See the DesktopHeight property for value restrictions.
- pReconnectStatus [out, retval]
-
Type: ControlReconnectStatus*
A pointer to a ControlReconnectStatus variable that receives the status of the reconnect operation.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client | Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012
