I was now able to proceed to next level. some functions calls were at wrong location when compared to pseudo code provided.
But I am still facing issue like now after start capture--_Finish capture--> SensorAdapterClearContext is getting called by the WBF. Now this loop repeats. as given in log below. I am currently at dead end as to where to fix the issue
=================================
[6884] Sensor : SensorAdapterStartCapture CAlled
[6884] SensorAdapterStartCapture End
[5248] OnCaptureData Executed Started
[5248] WINBIO_PURPOSE_IDENTIFY recieved
[5248] OnCaptureData Executed End
[6884] SensorAdapterFinishCapture called
[6884]
[6884] Sensor : SensorAdapterFinishCapture Inside Switch = 1
[6884] Sensor : RejectDetail = 0 and WinBioHresult = 0
[6884] SensorAdapterClearContext Exection Started
[6884] _AdapterRelease
[6884] SensorAdapterClearContext Exection End
[6884] Sensor : SensorAdapterStartCapture CAlled
[6884] SensorAdapterStartCapture End
[5248] OnCaptureData Executed Started
[5248] WINBIO_PURPOSE_IDENTIFY recieved
[5248] OnCaptureData Executed End
[6884] SensorAdapterFinishCapture called
[6884]
[6884] Sensor : SensorAdapterFinishCapture Inside Switch = 1
[6884] Sensor : RejectDetail = 0 and WinBioHresult = 0
[6884] SensorAdapterClearContext Exection Started
[6884] _AdapterRelease
[6884] SensorAdapterClearContext Exection End
==================================
This above log goes on repeating till I remove the device from the USB drive. I start getting this log when from application I call WinBioOpenSession
Please help