Partilhar via


Classe WMI MPIO_REGISTERED_DSM

Um cliente WMI usa a classe WMI MPIO_REGISTERED_DSM para consultar todos os DSMs configurados em um sistema.

class MPIO_REGISTERED_DSM
{
    [key, read]
     string InstanceName;
    [read] boolean Active;

    //
    // The Number of DSMs that have registered with MPIO.
    //
    [WmiDataId(1),
     read,
     Description("Number of registered DSMs.") : amended
    ] uint32 NumberDSMs;

    //
    // Variable-length array of DSM_PARAMETERS structures.
    // NOTE: Each entry will be ULONG aligned. App. writers
    // take note when iterating through the array.
    //
    [WmiDataId(2),
     read,
     Description("Counters information of registered DSMs.") : amended,
     WmiSizeIs("NumberDSMs")
    ] DSM_PARAMETERS DsmParameters[];
};

Quando essa definição de classe é compilada pelo conjunto de ferramentas WMI, ela produz a estrutura de dados MPIO_REGISTERED_DSM . Não há métodos associados a essa classe WMI.