The MCI_GETDEVCAPS message requests an MCI driver to return device capabilities information.
If the operation succeeds, the driver returns zero. Otherwise, the driver returns one of tbe MCIERR error codes defined in mmsystem.h.
A client sends the message by calling the driver’s DriverProc entry point, passing the specified parameters.
A driver tests lParam1 to determine the type of information to return. The driver returns the requested information in the structure pointed to by lParam2. Refer to the Win32 SDK description of MCI_GETDEVCAPS to determine the types of information the driver should return.