Share via


IMsRdpClientAdvancedSettings::put_RedirectDrives (Windows Embedded CE 6.0)

1/6/2010

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 Methods for Redirection
IMsRdpClientAdvancedSettings