📄 audioactivex.idl
字号:
// AudioActiveX.idl : IDL source for AudioActiveX.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (AudioActiveX.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
[
object,
uuid(CA21A85A-1445-4311-99D3-680555F893D4),
dual,
helpstring("IWaveAudio Interface"),
pointer_default(unique)
]
interface IWaveAudio : IDispatch
{
[id(1), helpstring("method Load")] HRESULT Load([in] BSTR Filename);
[id(2), helpstring("method Record")] HRESULT Record(void);
[id(3), helpstring("method Stop")] HRESULT Stop(void);
[id(4), helpstring("method Play")] HRESULT Play(void);
[id(5), helpstring("method Close")] HRESULT Close(void);
[id(6), helpstring("method Save")] HRESULT Save([in] BSTR Filename );
[id(7), helpstring("method WaveCompare")] HRESULT WaveCompare([in] BSTR Sourcefile, [in] BSTR Recordfile, [out, retval] float *argu);
};
[
uuid(2268A02E-99A7-4BA4-AA97-9BF3EB3139E9),
version(1.0),
helpstring("AudioActiveX 1.0 Type Library")
]
library AUDIOACTIVEXLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(A7699EF7-A15A-485A-84D5-C270301D67EF),
helpstring("_IWaveAudioEvents Interface")
]
dispinterface _IWaveAudioEvents
{
properties:
methods:
};
[
uuid(97688623-DB40-46A5-91BA-48517CD88E7D),
helpstring("WaveAudio Class")
]
coclass WaveAudio
{
[default] interface IWaveAudio;
[default, source] dispinterface _IWaveAudioEvents;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -