Create a mic device DLL plugin, research the web/scientific library of the university of your choice for speech analysis algorithms or simple voice pattern comparison and voilá! you have it! Or search for a open source library....
The big chocolate donut made me silly... did you tried it, too?`