IMsRdpDevice::RedirectionState property

Indicates the redirection state of the device.

This property is read/write.

Syntax

HRESULT put_RedirectionState(
  [in]  VARIANT_BOOL vboolRedirState
);

HRESULT get_RedirectionState(
  [out] VARIANT_BOOL *pvboolRedirState
);

Property value

Set this parameter to VARIANT_FALSE to disable redirection or VARIANT_TRUE to enable redirection.

Error codes

If the method succeeds, S_OK is returned. Any other HRESULT value indicates that the call failed.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpDevice is defined as 60c3b9c8-9e92-4f5e-a3e7-604a912093ea

See also

IMsRdpDevice