Asked by:
WinSDK function WinBioCaptureSample always return E_NOTIMPL with MS sample

Question
-
Hi
I am trying to call function WinBioCaptureSample but it always return E_NOTIMPL, all other functions of biometric are working well.
in event viewer i can see this same error
"The Windows Biometric Service failed to export data from sensor: Synaptics UWP WBDI SGX (USB\VID_06CB&PID_00BE\B45D3E005FB5)"
I am using microsoft sample code without any change.
hr = WinBioOpenSession(
WINBIO_TYPE_FINGERPRINT, // Service provider
WINBIO_POOL_SYSTEM, // Pool type
WINBIO_FLAG_RAW, // Access: Capture raw data
NULL, // Array of biometric unit IDs
0, // Count of biometric unit IDs
WINBIO_DB_DEFAULT, // Default database
&sessionHandle // [out] Session handle
);
if (FAILED(hr))
{
wprintf_s(L"\n WinBioOpenSession failed. hr = 0x%x\n", hr);
goto e_Exit;
}
// Capture a biometric sample.
wprintf_s(L"\n Calling WinBioCaptureSample - Swipe sensor...\n");
hr = WinBioCaptureSample(
sessionHandle,
WINBIO_NO_PURPOSE_AVAILABLE,
WINBIO_DATA_FLAG_RAW,
&unitId,
&sample,
&sampleSize,
&rejectDetail
);here hr is always E_NOTIMPL
Ummed Choudhary
- Moved by Xingyu ZhaoMicrosoft contingent staff Monday, November 23, 2020 1:33 AM
Friday, November 20, 2020 8:52 AM
All replies
-
forum migrated to mentioned below link please use this
https://docs.microsoft.com/en-us/answers/index.html
hope answer the question if issue resolve please accept answer
Friday, November 20, 2020 8:02 PM -
Did you try some other arguments for WinBioCaptureSample?
By the way, since this does not seem Visual Basic, maybe you repost it to an appropriate forum?
Saturday, November 21, 2020 9:45 AM -
Hi Ummed Choudhary,
Since your question is more related to Win32 API, you can consider posting your question on the following forum.
Best Regards,
Xingyu Zhao
Visual Basic and CLR forum will be migrating to a new home on Microsoft Q&A! (VB.NET and CLR) We invite you to post new questions in the new home on Microsoft Q&A ! For more information, please refer to the sticky post(VB.NET and CLR).
Monday, November 23, 2020 1:32 AM -
Thanks for providing this valuable information.Monday, November 23, 2020 4:19 AM