Compartilhar via


ACX_KEYWORDSPOTTER_CALLBACKS estrutura (acxelements.h)

A estrutura ACX_KEYWORDSPOTTER_CALLBACKS identifica os retornos de chamada do driver para operações de spotter de palavra-chave.

Sintaxe

typedef struct _ACX_KEYWORDSPOTTER_CALLBACKS {
  ULONG                                  Size;
  PFN_ACX_KEYWORDSPOTTER_RETRIEVE_ARM    EvtAcxKeywordSpotterRetrieveArm;
  PFN_ACX_KEYWORDSPOTTER_ASSIGN_ARM      EvtAcxKeywordSpotterAssignArm;
  PFN_ACX_KEYWORDSPOTTER_ASSIGN_PATTERNS EvtAcxKeywordSpotterAssignPatterns;
  PFN_ACX_KEYWORDSPOTTER_ASSIGN_RESET    EvtAcxKeywordSpotterAssignReset;
} ACX_KEYWORDSPOTTER_CALLBACKS, *PACX_KEYWORDSPOTTER_CALLBACKS;

Membros

Size

O comprimento, em bytes, dessa estrutura de retornos de chamada.

EvtAcxKeywordSpotterRetrieveArm

O retorno de chamada ACX_KEYWORDSPOTTER_RETRIEVE_ARM.

EvtAcxKeywordSpotterAssignArm

O retorno de chamada ACX_KEYWORDSPOTTER_ASSIGN_ARM.

EvtAcxKeywordSpotterAssignPatterns

O retorno de chamada ACX_KEYWORDSPOTTER_ASSIGN_PATTERNS.

EvtAcxKeywordSpotterAssignReset

O retorno de chamada ACX_KEYWORDSPOTTER_ASSIGN_RESET.

Observações

Exemplo

O uso de exemplo é mostrado abaixo.

    ACX_KEYWORDSPOTTER_CALLBACKS    keywordSpotterCallbacks;

    ACX_KEYWORDSPOTTER_CALLBACKS_INIT(&keywordSpotterCallbacks);
    keywordSpotterCallbacks.EvtAcxKeywordSpotterRetrieveArm = CodecC_EvtAcxKeywordSpotterRetrieveArm;
    keywordSpotterCallbacks.EvtAcxKeywordSpotterAssignArm = CodecC_EvtAcxKeywordSpotterAssignArm;
    keywordSpotterCallbacks.EvtAcxKeywordSpotterAssignPatterns = CodecC_EvtAcxKeywordSpotterAssignPatterns;
    keywordSpotterCallbacks.EvtAcxKeywordSpotterAssignReset = CodecC_EvtAcxKeywordSpotterAssignReset;

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 acxelements.h

Consulte também