Has anyone used IOCTL_ATA_PASS_THROUGH to send commands to ATA/SATA devices?

Would someone please point me to some examples, books, or other resources?

The MSDN doesn't seem to have any examples that I can find.

thanks