Adding Custom Error Strings to an MCI Device Driver (76411)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.0
- Microsoft Windows Software Development Kit (SDK) 3.1
- Microsoft Win32 Software Development Kit (SDK) 3.5
- Microsoft Win32 Software Development Kit (SDK) 3.51
- Microsoft Win32 Software Development Kit (SDK) 4.0
This article was previously published under Q76411 SUMMARY
In the Microsoft Windows graphical environment, an application can use
mciGetErrorString() to obtain the string associated with an error code
returned from a media control interface (MCI) device driver.
An MCI driver can use a STRINGTABLE resource to store its error strings.
The identifier constant for each string should correspond to the error
value returned by the DriverProc function. This value must be greater than
or equal to the constant MCIERR_CUSTOM_DRIVER_BASE to avoid confusion with
the predefined MCI error codes.
Modification Type: | Major | Last Reviewed: | 3/6/1999 |
---|
Keywords: | KB76411 |
---|
|