Partager via


UWF_Volume.SetBindByDriveLetter (Industry 8.1)

7/8/2014

Review the use, syntax, parameters, and return values of the UWF_Volume.SetBindByDriveLetter method for Windows Embedded 8.1 Industry (Industry 8.1).

This method 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.

See Also

Reference

UWF_Volume

Concepts

Unified Write Filter