Guidelines for Returning Information
Use the following guidelines for returning information when developing a new
driver:
-
Implement the MCI_GETDEVCAPS, MCI_INFO,
and MCI_STATUS commands as they are described in the
Win32 SDK. Be consistent with the implementations already provided with
existing drivers.
-
Remember that the MCI_GETDEVCAPS and MCI_STATUS
commands return integer values, while MCI_INFO returns
string values.
-
Place strings requiring language translation in resource files. Return their
resource identifiers as integer values, using MCI_GETDEVCAPS,
MCI_STATUS, or a customized extended command. The
strings returned by MCI_INFO contain information that
does not require foreign language translation, such as file and path names, or
media identifier strings.