Take a look at
Asterisk/[
^]
It's a very good example of how to tie everything together, so "borrowing" the design would probably be useful.
As Mehdis' links provides you with the technology required to implment a similar system on Windows.
Best regards
Espen Harlinn