Click here to Skip to main content
15,889,590 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm currently developing a application that uses the WBF to capture fingerprint data for authentication. I'm using a custom authentication scheme so I need to use a biometric unit assigned to a private sensor pool to accomplish this; the msdn documentation seems to indicate that a client application can create a private sensor pool and any biometric unit can be assigned to it. However there doesn't appear to be any information as to how a private sensor pool can be created. When I run WinBioEnumBiometricUnits a single biometric unit is returned with the pool type assigned to the system pool but I would like to change the pool type to private pool.

If the WinBioOpenSession function is supposed to automatically assign the given biometric unit there appears to be an error in that function. Otherwise, if there is a way to assign a biometric unit to a private pool I'd really like to know how to do so. I've done a rigorous web search and come across nothing useful, any help would be greatly appreciated.

Thanks,

What I have tried:

HRESULT CBioFingerPrintDlg::EnumarateBioUnits()
{
	HRESULT hr = S_OK;

	if(FAILED( WinBioEnumBiometricUnits(m_Factor,&m_UnitSchema,&m_UnitCount)))
	{
		m_msg = _T("Enumaration failed");
		ShowMessage(m_msg);
		goto e_Exit;
	}

	for(int i=0; i<m_UnitCount; i++)
	{
		CString msg;

		msg.Format(_T("\nPool Type:%d"),m_UnitSchema[i].PoolType);
		
		m_unitId = m_UnitSchema[0].UnitId;
		ShowMessage(msg);
/////////////////////////////////////////////////////
msg contains Pool Type:1 that is system pool
/////////////////////////////////////////////////////
	}
	
	ShowMessage(_T("Enumaration Success..."));
	return hr;
	
e_Exit:
	if(m_UnitSchema!=NULL)
	{
		WinBioFree(m_UnitSchema);
		m_UnitSchema = NULL;
	}
}
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900