Partilhar via


ACX_PROPERTY_VERB enumeração (acxrequest.h)

A enumeração ACX_PROPERTY_VERB descreve o tipo de operações de verbo com suporte em propriedades ACX.

Sintaxe

typedef enum _ACX_PROPERTY_VERB {
  AcxPropertyVerbNone,
  AcxPropertyVerbGet,
  AcxPropertyVerbSet,
  AcxPropertyVerbBasicSupport,
  AcxPropertyVerbSetSupport,
  AcxPropertyVerbMax
} ACX_PROPERTY_VERB, *PACX_PROPERTY_VERB;

Constantes

 
AcxPropertyVerbNone
Sem suporte a verbos.
AcxPropertyVerbGet
O Suporte para Verbo está habilitado.
AcxPropertyVerbSet
O Suporte a Verbos definido está habilitado.
AcxPropertyVerbBasicSupport
O suporte básico do Verbo está disponível.
AcxPropertyVerbSetSupport
O suporte ao Verb Set está disponível.
AcxPropertyVerbMax
Para validação interna, não use.

Observações

Exemplo

O uso de exemplo é mostrado abaixo.

(
    _In_ WDFDEVICE Device,
    _In_ ACXTARGETCIRCUIT TargetCircuit,
    _In_ GUID PropertySet,
    _In_ ULONG PropertyId,
    _In_ ACX_PROPERTY_VERB Verb,
    _Inout_ PVOID Value,
    _In_ ULONG ValueCb
)
{
    PAGED_CODE();

    ACX_REQUEST_PARAMETERS requestParams;
    ACX_REQUEST_PARAMETERS_INIT_PROPERTY(
        &requestParams,
        PropertySet,
        PropertyId,
        Verb,
        AcxItemTypeCircuit,
        0,
        NULL, 0,
        Value, ValueCb
    );

Requisitos do ACX

versão mínima do ACX: 1.0

Para obter mais informações sobre versões do ACX, consulte visão geral da versão do ACX.

Requisitos

Requisito Valor
cabeçalho acxrequest.h

Consulte também

  • de cabeçalho acxrequest.h