estrutura ACX_KEYWORDSPOTTER_CALLBACKS (acxelements.h)

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

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 .

Comentários

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 as versões do ACX, consulte Visão geral da versão do ACX.

Requisitos

Requisito Valor
Cabeçalho acxelements.h

Confira também