We're working on a device driver for Vista. There's a known bug in SPO (that was fixed in SP1). We have a workaround that only works in SP0 (and destroys the behavior in SP1).
Is there a Windows API or another way to tell what Service Pack version is installed? (Programmatically).