📄 hbplaycom.idl
字号:
// HBPlayCom.idl : IDL source for HBPlayCom.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (HBPlayCom.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(E63EA3D5-03B5-4EDB-92B3-84FE5BB99CCF),
dual,
helpstring("IComPlayer Interface"),
pointer_default(unique)
]
interface IComPlayer : IDispatch
{
[id(1), helpstring("method Free")] HRESULT Free();
[id(2), helpstring("method Initial")] HRESULT Initial(long hWnd);
[id(4), helpstring("method CloseFile")] HRESULT CloseFile(long hHandle);
[id(5), helpstring("method SetCallBack")] HRESULT SetCallBack(long hHandle, long *pCallBack);
[id(6), helpstring("method OpenStream")] HRESULT OpenStream(long *phHandle, long *pFileHeadBuf, long lSize);
[id(7), helpstring("method CloseStream")] HRESULT CloseStream(long hHandle);
[id(8), helpstring("method OpenFile")] HRESULT OpenFile(long *phHandle, BSTR sFileName);
[id(9), helpstring("method InputData")] HRESULT InputData(long hHandle, long *pBuf, long lSize);
[id(10), helpstring("method SetPlayDirection")] HRESULT SetPlayDirection(long lDirection);
[id(11), helpstring("method SetPlayPos")] HRESULT SetPlayPos(long hHandle, long lPos);
[id(12), helpstring("method GetPlayPos")] HRESULT GetPlayPos(long hHandle, long *pPos);
[id(13), helpstring("method Fast")] HRESULT Fast(long hHandle);
[id(14), helpstring("method Slow")] HRESULT Slow(long hHandle);
[id(15), helpstring("method SetFileEndMsg")] HRESULT SetFileEndMsgWnd(long hHandle, long hWnd, long lMsg);
[id(16), helpstring("method Play")] HRESULT Play(long hHandle, long hWnd);
[id(17), helpstring("method Stop")] HRESULT Stop(long hHandle);
[id(18), helpstring("method Pause")] HRESULT Pause(long hHandle, long lPause);
[id(19), helpstring("method PlaySound")] HRESULT PlaySound(long hHandle);
[id(20), helpstring("method StopSound")] HRESULT StopSound(long hHandle);
[id(21), helpstring("method RefreshSurface")] HRESULT RefreshSurface(long hHandle);
[id(22), helpstring("method CapPic")] HRESULT CapPic(long hHandle, BSTR sFileName);
[id(23), helpstring("method SetVolume")] HRESULT SetVolume(long hHandle, long lVolume);
[id(24), helpstring("method GetVolume")] HRESULT GetVolume(long hHandle, long *pVolume);
[id(25), helpstring("method SetColor")] HRESULT SetColor(long hHandle, long lBrightness, long lContrast, long lSaturation, long lHue);
[id(26), helpstring("method GetColor")] HRESULT GetColor(long hHandle, long *pBrightness, long *pContrast, long *pSaturation, long *pHue);
[id(27), helpstring("method GetVersion")] HRESULT GetVersion(long *lVer);
[id(28), helpstring("method QueryFunction")] HRESULT QueryFunction(BSTR sFunctionName, long *lCanUse);
[id(29), helpstring("method SetParameter")] HRESULT SetParameter(long hHandle, long lType, long lPara1, long Para2);
[id(30), helpstring("method GetParameter")] HRESULT GetParameter(long hHandle, long lType, long *pPara1, long *pPara2);
};
[
uuid(52CE6FAA-FD82-4D1C-9405-2556B797FD8B),
version(1.0),
helpstring("HBPlayCom 1.0 Type Library")
]
library HBPLAYCOMLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(024AD8D6-DF88-4E0B-9476-75DDA5AF491F),
helpstring("ComPlayer Class")
]
coclass ComPlayer
{
[default] interface IComPlayer;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -