Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 18th, 2004, 4:45 PM   #1
mivey4
Newbie
 
Join Date: Aug 2004
Posts: 1
Rep Power: 0 mivey4 is on a distinguished road
Hello,

I have retrieved the values of the members of the WAVEOUTCAPS structure but I have some questions concerning a few of the members.

WAVEOUTCAPS
Public wMid As Short
Public wPid As Short
Public vDriverVersion As Integer
Public szPname As String
Public dwFormats As Integer
Public wChannel As Short
Public wReserved1 As Short
Public dwSupport As Integer

When the wMid which is an identifier for the Manufacturer of the device or the wPid which is an identifier for the Product is returned I know that these represent references respectively for the product and manufacturers. My problem is that I only have a small number of these ID's available to me using an API utility that provides me with some of the appropriate references. Such as

Microsoft Corporation - has a Manufacturer ID of MM_MICROSOFT

Which I can locate using my utility to be a CONSTANT recognized that I may declare in my app as:

Public Const MM_MICROSOFT = 1

Similarly if an audio device has a Product Identifier of 10, I can locate within the API utility the identifier of this as

Public Const MM_MPU401_MIDIOUT = 10

Which I may by cross reference identify on MSDN's manufacturer and product identifier table as being "MPU 401-compatible MIDI output port"

However there are so many more products and manufacturers that I don't have a reference for. How can I retrieve the appropriate constants for these? Is there any utility within VB.NET that I can use when my third party utility doesn't suffice to provide an extended listing to use with my program? Dumpbin???

Secondly, MSDN states that the dwFormats member may return more than one value such as a combination. How can I determine which formats are supported?

Thanks
mivey4 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:38 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC