Access to SCSI from C++

I need just enough of a SCSI API to do, at this stage, nothing more than a SCSI INQUIRY command to a device. Does anyone have example C or C++ code or know of an API usable from either language that might help me accomplish this?

I've seen and used a pretty decent SCSI API for C#, but porting just the bits I need looks pretty daunting for a novice at Windows development like me. (I'm also not very experienced with C++ but know C very well and have been picking up some C# on the fly recently.)

I'm using Visual Studio 2008 right now but could use a different development environment if necessary.

Thanks!
Topic archived. No new replies allowed.