Solved

MIDIOUTCAPS

Posted on 1998-01-31
4
211 Views
Last Modified: 2008-02-01
I ma having problem with the midiOutGetDevCaps, using the MIDIOUTCAPS type.
I have the type difinition for c or c++ (?), from the developer networs cd that comes with VB5 but that cant help me.
I need to setup a type for VB.
thanx.
CATT
0
Comment
Question by:CATT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
dirtdart earned 30 total points
ID: 1454630
Type MIDIOUTCAPS
        wMid As Integer
        wPid As Integer
        vDriverVersion As Long
        szPname As String * MAXPNAMELEN
        wTechnology As Integer
        wVoices As Integer
        wNotes As Integer
        wChannelMask As Integer
        dwSupport As Long
End Type

0
 

Author Comment

by:CATT
ID: 1454631
Thanks, but; I get an error, constant expression requierd, at the * (?) MAXPNAMELEN. How, what am I to do about that.?
0
 
LVL 5

Expert Comment

by:dirtdart
ID: 1454632
Public Const MAXPNAMELEN = 32  


Make sure you put this BEFORE the type declaration.
0
 

Author Comment

by:CATT
ID: 1454633
Adjusted points to 35
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month7 days, 8 hours left to enroll

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question