Announcement

Collapse
No announcement yet.

Calling winmm.dll

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calling winmm.dll

    Hi, could a good soul help me calling properly this function of winmm? I'd really appreciate it. The function is waveOutGetVolume and I want the result but I'm always getting 11 as result... in C# the code would looklike this :

    Code:
    [DllImport("winmm.dll")]
        private static extern int waveOutGetVolume(IntPtr hwo, out uint dwVolume);
    Thanks to anyone who would help or have the answer!
    Philippe

  • #2
    use the MemoryEx plugin for dll calling as it takes away the brain drain:

    Code:
    winmm = Library.Load("winmm.dll")
    result = winmm.waveOutGetVolume(agruments if any)

    Comment


    • #3
      Thanks Shrek, I'll give it a try tommorrow. Hope it'll work!

      Have a good day,
      Philippe

      Comment

      Working...
      X