none
windows 10异步采集指纹,如果实现? RRS feed

  • 问题

  • Important  We recommend that, beginning with Windows 8, you no longer use this function to start an asynchronous operation. Instead, do the following:•Implement a PWINBIO_ASYNC_COMPLETION_CALLBACK function to receive notice when the operation completes.
    •Call the WinBioAsyncOpenSession function. Pass the address of your callback in the CallbackRoutine parameter. Pass  WINBIO_ASYNC_NOTIFY_CALLBACK in the NotificationMethod parameter. Retrieve an asynchronous session handle.
    •Use the asynchronous session handle to call WinBioEnrollCapture. When the operation finishes, the Windows Biometric Framework will allocate and initialize a  WINBIO_ASYNC_RESULT structure with the results and invoke your callback with a pointer to the results structure.
    •Call WinBioFree from your callback implementation to release the WINBIO_ASYNC_RESULT structure after you have finished using it.

    ——我按照上面的方法一步一步来,但是在WinbioEnrollCapture时还没有刷指纹就已经返回。尝试调用WinBioWait也不能解决问题,求指点!

    2016年4月27日 3:44

全部回复

  • 你好,

    你能提供一些错误信息吗?是函数都还没执行呢?还是函数执行失败呢?你可以把错误信息说的具体点,这样好帮助你解决问题.

    EDIT:

    根据你的描述,你这个不是C++开发论坛,我待会把帖子移到讨论论坛,将会有其他人为你解答.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.


    2016年4月27日 7:23