如何访问所有winmm.dll类和属性? [英] How to access all winmm.dll classes and properties?

查看:88
本文介绍了如何访问所有winmm.dll类和属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在程序中成功集成了[音量级别]代码。对我而言。我在互联网上找到它。我不是那么聪明。但我希望...也许在你的帮助下。





I successfully integrated the [volume level] code in my program. Yay for me. I find it on internet. I'm not that smart yet. But I want to be... maybe with your help.


[DllImport("winmm.dll")]
public static extern int waveOutGetVolume(IntPtr hwo, out uint dwVolume);
[DllImport("winmm.dll")]
public static extern int waveOutSetVolume(IntPtr hwo, uint dwVolume);
double volume = 100;
void Volume()
{
    double NewVolume = ((ushort.MaxValue / 100) * volume);
    waveOutSetVolume(IntPtr.Zero, (uint)NewVolume);
}





现在我很好奇[怎么看]所有的类和[一些示例使用和调用]来自此winmm.dll的那些类。

我想在某个地方有一个列表,其中包含该dll上的所有属性和类互联网。

是吗?

非常感谢!



我的尝试:



代码在描述中。 ^



Now I am curious [How to see] all the classes and [some samples using and calling] those classes from this winmm.dll.
I imagine there is somewhere a list with all the properties and classes from that dll on the internet.
Is it?
Thank you very much !

What I have tried:

the code is in description. ^

推荐答案

Quote:

我想在某个地方有一个包含所有的列表来自互联网上的dll的属性和类。

I imagine there is somewhere a list with all the properties and classes from that dll on the internet.

是的,谷歌是可以找到它的工具。

Yes, and Google is the tool that will find it for you.


这篇关于如何访问所有winmm.dll类和属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆