## Physical Device Driver Reference

[prev][next][parent][TOC]

### DSK_QUERYMEDIASENSE (60h) - Returns

The error return codes for this function are as follows:

0 NO_ERROR
1 ERROR_INVALID_FUNCTION
6 ERROR_INVALID_HANDLE
15 ERROR_INVALID_DRIVE
22 ERROR_BAD_COMMAND
31 ERROR_GEN_FAILURE
87 ERROR_INVALID_PARAMETER
115 ERROR_PROTECTION_VIOLATION
117 ERROR_INVALID_CATEGORY
119 ERROR_BAD_DRIVER_LEVEL
163 ERROR_UNCERTAIN_MEDIA
165 ERROR_MONITORS_NOT_SUPPORTED