user1172282
user1172282

Reputation: 617

Where in the .NET class library is IAudioEndpointVolume located?

I'm trying to write an application that controls the system volume on Windows 7 but I can't find any documentation on where IAudioEndpointVolume is located in the .NET class library. What is the full path?

Upvotes: 1

Views: 3097

Answers (2)

Robert Harvey
Robert Harvey

Reputation: 180808

The Core Audio API (where IAudioEndpointVolume is located) is not native to the .NET Framework.

However, you can use this Codeplex project, which provides .NET wrappers for the Core Audio API.

Upvotes: 3

CodingGorilla
CodingGorilla

Reputation: 19842

IAudioEndpointVolume is part of the operating system API's, it's in a C++ dll. It doesn't exist as part of the .Net BCL. You could P/Invoke into it if you wish, but there isn't a .Net wrapper unless someone else has written a 3rd party version.

Upvotes: 1

Related Questions