Solved

MIDIOUTCAPS

Posted on 1998-01-31
4
197 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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 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