Solved

MIDIOUTCAPS

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

738 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