Masterclock TCR1000 Bedienungsanleitung Seite 11

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 23
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 22 23

Kommentare zu diesen Handbüchern

Keine Kommentare