mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
24 lines
721 B
C#
24 lines
721 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Runtime.InteropServices;
|
|||
|
|
|
|||
|
|
namespace NAudio.CoreAudioApi.Interfaces
|
|||
|
|
{
|
|||
|
|
[Guid("D666063F-1587-4E43-81F1-B948E807363F"),
|
|||
|
|
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|||
|
|
interface IMMDevice
|
|||
|
|
{
|
|||
|
|
// activationParams is a propvariant
|
|||
|
|
int Activate(ref Guid id, ClsCtx clsCtx, IntPtr activationParams,
|
|||
|
|
[MarshalAs(UnmanagedType.IUnknown)] out object interfacePointer);
|
|||
|
|
|
|||
|
|
int OpenPropertyStore(StorageAccessMode stgmAccess, out IPropertyStore properties);
|
|||
|
|
|
|||
|
|
int GetId(out string id);
|
|||
|
|
|
|||
|
|
int GetState(out DeviceState state);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|