I couldn't find a satisfactory example on the forums, mainly because the interface that I'm using is undocumented and MS wants to keep it that way.
This is the first revision of this example. I just wanted to post it while I had time to give other users a better starting point.
Only works on Vista+, only gets first instance of AV found. If nobody cleans this up, I'll come back in a few days and post the finished product.
Windows XP has an interface [/root/SecurityCenter], but I don't need