WinSDK function WinBioCaptureSample always return E_NOTIMPL with MS sample

  • Thread starter Thread starter Ummed Choudhary
  • Start date Start date
U

Ummed Choudhary

Guest
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

Continue reading...
 
Back
Top