I know of no way of doing it. Assuming you mean the home (Consumer) product then it would have to invoke mcods.exe, but how, is another matter.
If it's the Enterprise version of VirusScan then you should be asking in Desktop & Server.
If its TOPS then there is no support in these forums. Check your Gold Support agreement or HERE.
Check out Metascan. It provides a generic Java API to manage many antivirus packages, including several McAfee antivirus packages. You'll find a general description at http://www.opswat.com/products/metascan.
I hope it will help you.
As this thread is almost 3 years old I'm locking it.