The parameters and flags for this message vary according to the selected device. If the size of the buffer passed in is too small to hold all the data returned, ulRetSize will contain the required buffer size, the error code MCIERR_INVALID_BUFFER will be returned, and the buffer will only contain as much of the INFO data as its size permits. Only one flag can be used per MCI_INFO message; otherwise the MCIERR_FLAGS_NOT_COMPATIBLE error is returned.