Share via


IMsRdpClientAdvancedSettings::put_RedirectDrives

Other versions of this page are also available for the following:

8/28/2008

This method sets a value that indicates whether disk-drive redirection is enabled.

Syntax

HRESULT put_RedirectDrives( 
    VARIANT_BOOL redirectDrives
);

Parameters

  • redirectDrives
    [in] Indicates whether disk-drive redirection is enabled.

    Set this parameter to VARIANT_TRUE to enable disk-drive redirection. When disk-drive redirection is enabled, a message box appears at connection time, asking the user to confirm redirection for security purposes. Set this parameter to VARIANT_FALSE to make disk-drive redirection unavailable.

Return Value

Returns S_OK if successful.

See Also

Reference

IMsRdpClientAdvancedSettings