UWF_Volume.SetBindByDriveLetter

Sets the BindByDriveLetter property, which indicates if the Unified Write Filter (UWF) volume is bound to the physical volume by drive letter or volume name.

Syntax

UInt32 SetBindByDriveLetter(
    boolean bBindByDriveLetter
);

Parameters

bBindByDriveLetter
A Boolean value that indicates the type of binding to use. The BindByDriveLetter property is set to this value.

Value Description
true Binds the UWF volume by the drive letter (loose binding).
false Binds the UWF volume by the volume name (tight binding).

Return Value

Returns an HRESULT value that indicates WMI status or a WMI error.

Remarks

Binding by volume name is considered more reliable than binding by drive letter, since drive letters can change for a volume if devices are added or removed.

Requirements

Windows Edition Supported
Windows Home No
Windows Pro No
Windows Enterprise Yes
Windows Education Yes
Windows IoT Enterprise Yea