Recent

Author Topic: Multimedia Manufacturer Identifiers  (Read 3718 times)

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Multimedia Manufacturer Identifiers
« on: January 31, 2019, 01:12:01 pm »
Hi,

I found the Microsoft'  Manufacturer Identifiers in 
Code: Pascal  [Select][+][-]
  1. mmreg.pp
( MM_GRAVIS, MM_ANTEX, ...., MM_MICROSOFT,  ... )


But I didn't find the corresponding strings:

MM_GRAVIS => Advanced Gravis Computer Technology, Ltd.
MM_ANTEX=> Antex Electronics Corporation
...
MM_MICROSOFT=> Microsoft Corporation
...
=> https://docs.microsoft.com/de-de/windows/desktop/Multimedia/manufacturer-identifiers


I can indeed write this down into a pascal file myself, but ..
Anyone knows an existing delphi / pascal / lazarus source ?
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Multimedia Manufacturer Identifiers
« Reply #1 on: January 31, 2019, 01:16:42 pm »
Same with

Microsoft Corporation Product Identifiers
https://docs.microsoft.com/de-de/windows/desktop/Multimedia/microsoft-corporation-product-identifiers

Consts like MM_ADLIB  are in
Code: Pascal  [Select][+][-]
  1.  mmsystem.pp

But not the strings:
MM_ADLIB => Adlib-compatible synthesizer ...

 :(
usually using latest Lazarus release version with Windows 10

ASerge

  • Hero Member
  • *****
  • Posts: 2222
Re: Multimedia Manufacturer Identifiers
« Reply #2 on: January 31, 2019, 04:42:05 pm »
But I didn't find the corresponding strings:
MM_GRAVIS => Advanced Gravis Computer Technology, Ltd.
MM_ANTEX=> Antex Electronics Corporation
...
MM_MICROSOFT=> Microsoft Corporation
...
=> https://docs.microsoft.com/de-de/windows/desktop/Multimedia/manufacturer-identifiers
I can indeed write this down into a pascal file myself, but ..
Anyone knows an existing delphi / pascal / lazarus source ?
They are also not explicitly present in Microsoft code. It's just an explanation. For example, here's from the Platform SDK files:
MMReg.h
Code: C  [Select][+][-]
  1. #define MM_ADLIB  9  /* Ad Lib Compatible synth  */
MMSystem.h
Code: C  [Select][+][-]
  1. #define MM_ADLIB  9  /* Ad Lib-compatible synthesizer */
That is, only in the form of a comment, and not even the same.

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Multimedia Manufacturer Identifiers
« Reply #3 on: January 31, 2019, 10:28:34 pm »
Okay, then I write a unit with the strings.

I would do it this way:

Code: Pascal  [Select][+][-]
  1. const
  2.   Elements = 3;
  3.   ManufacturerIdentifiers : array  [1..Elements] of string =
  4.                             ('Microsoft Corporation',    // MM_MICROSOFT
  5.                              'Creative Labs, Inc.',      // MM_CREATIVE
  6.                              'Media Vision, Inc.'        // MM_MEDIAVISION
  7.                              );
  8.  
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Multimedia Manufacturer Identifiers
« Reply #4 on: February 06, 2019, 04:45:16 pm »
Okay, I appended the whole file here ..


Code: Pascal  [Select][+][-]
  1. unit mmstrings;
  2. ..
  3. ..
  4. ..
  5. const
  6.   MM_MICROSOFT                  = 1;          //* Microsoft Corporation */
  7.   MM_CREATIVE                   = 2;          //* Creative Labs, Inc. */
  8.   MM_MEDIAVISION                = 3;          //* Media Vision, Inc. */
  9.   MM_FUJITSU                    = 4;          //* Fujitsu Corp. */
  10.   MM_PRAGMATRAX                 = ...
  11.   .....
  12.   ....
  13.   ...
  14.  
  15. const
  16.   MIElements = 266;
  17.   ManufacturerIdentifiers : array  [1..MIElements] of string =
  18. { 1 }                       ('Microsoft Corporation',                        // MM_MICROSOFT
  19.                              'Creative Labs, Inc.',                          // MM_CREATIVE
  20.                              'Media Vision, Inc.',                           // MM_MEDIAVISION
  21.                              'Fujitsu Corp.',                                // MM_FUJITSU
  22.                              'PRAGMATRAX Software',                          // MM_PRAGMATRAX
  23.   .....
  24.   ....
  25.   ...
  26.  
« Last Edit: February 07, 2019, 10:43:19 am by PeterX »
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Multimedia Manufacturer Identifiers
« Reply #5 on: February 18, 2019, 03:19:08 pm »
Actual version of this file, appended here :

Code: Pascal  [Select][+][-]
  1. unit mmstrings.pp
  2. ...
  3. //* ------------------------------------------- */
  4. //*          This file contains:                */
  5. //* ------------------------------------------- */
  6. //*                                             */
  7. //* Microsoft Manufacturer Identifiers          */
  8. //* Microsoft Manufacturer Identifier Strings   */
  9. //* Microsoft Product Identifiers               */
  10. //* Microsoft Product Identifier Strings        */
  11. //*                                             */
  12. //* Microsoft Output Device Type Strings        */
  13. //*                                             */
  14. //* ------------------------------------------- */
  15. ...
  16.  
usually using latest Lazarus release version with Windows 10

 

TinyPortal © 2005-2018