MPIO_PATH_INFORMATION WMI 类

WMI 客户端使用 MPIO_PATH_INFORMATION WMI 类查询 MPIO 驱动程序,以获取有关与 MPIO 磁盘关联的所有路径的信息。

class MPIO_PATH_INFORMATION
{

    [key, read]
     string InstanceName;
    [read] boolean Active;

    //
    // Number of paths to the device.
    //
    [WmiDataId(1),
     read,
     Description("Number of Paths in use") : amended
    ] uint32 NumberPaths;

    //
    // Pad for data alignment.
    //
    [WmiDataId(2),
     read,
     Description("Pad for ULONGLONG Alignment.") : amended
    ] uint32 Pad;

    //
    // Array containing each path's information.
    // Note that each of these are ULONGLONG aligned.
    //
    [WmiDataId(3),
     read,
     Description("Array of Adapter/Path Information.") : amended,
     WmiSizeIs("NumberPaths")
    ] MPIO_ADAPTER_INFORMATION PathList[];

};

当 WMI 工具套件编译此类定义时,它将生成 MPIO_PATH_INFORMATION 数据结构。 没有与此 WMI 类关联的方法。