![]() |
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 :( |
| All times are GMT -5. The time now is 11:05 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC