Masterclock TCR1000 Manual do Utilizador Página 11

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 23
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 10
TCR1000SDKRev.3.0.0  Page11
TCR1000_ApiDisableCallback
TheTCR1000_ApiDisableCallbackfunctiondisablesoneormoreofthecallbackhookscurrently
activeforthe
callbackfunctionofthecallingthread.
DWORDTCR1000_ApiDisableCallback(
DWORDcbToRemove//maskofcallbackhookstoremove
);
Parameters
cbToRemove
AnycombinationofcallbackhooksASYNC_xxx(definedinIntApiDefs.H)tobedisabledforthe
callback
functioninusebythecallingthread:
ASYNC_TIMESET Once/minuteinterrupt(second=30,frame=0)
ASYNC_PERSEC Once/secondinterrupt(second=0)
ASYNC_ENDTC Once/frameinterrupt(aftertimecodedata,beforesyncword)
ASYNC_STARTTC Once/frameinterrupt(beforetimecodedata,aftersyncword)
ASYNC_TIMELOSS Timecodelost
ASYNC_TIMEGAIN Timecoderegainedfromloststate
ReturnValues
Onsuccess,thenewcallbackhooksmask
Onfailure,ASYNC_MASK_ERROR
Remarks
Athreadmustdisableitscallbackfunctionbeforeterminating.
Eachthreadinaprocessmayhaveanactivecallbackfunctionbutnomorethanone.Allcallsto
TCR1000_ApiDisableCallbackareonbehalfofthecallingthread,notthecallingprocess.Disablinga
callbackhookdoesnotaffectthecallbackhooksofotherthreadsorotherprocesses.Call
TCR1000_ApiDisableCallbackwithcbToRemovesettoASYNC_ALLtodisablethecallbackfunctionfor
thecurrentthread.Whenallcallbackhookshavebeendisabledforacallbackfunctionthefunctionis
nolongercalledandisremovedfromtheAPI’sinternalcallbacktables.Seethesectionentitled
RelationshipofTCRInterruptstoTCRDLLAsynchronousNotificationforadditionalissuesregarding
theuseofthisfunction.
Vista de página 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 22 23

Comentários a estes Manuais

Sem comentários