[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

MIDIOUTCAPS

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
CATT
Asked:
CATT
  • 2
  • 2
1 Solution
 
dirtdartCommented:
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
 
CATTAuthor Commented:
Thanks, but; I get an error, constant expression requierd, at the * (?) MAXPNAMELEN. How, what am I to do about that.?
0
 
dirtdartCommented:
Public Const MAXPNAMELEN = 32  


Make sure you put this BEFORE the type declaration.
0
 
CATTAuthor Commented:
Adjusted points to 35
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now