ACTUALY... there is a Windows DLL in the system32 folder that has the card running functions. Used in Solitare and all. MAybe that might be of use. There is a decls I think. I'll look.
EDIT: Check Mate... http://blitzbasic.com/codearcs/codearcs.php?code=1381
EDIT: Check Mate... http://blitzbasic.com/codearcs/codearcs.php?code=1381