📄 mpeg1decodedll.pas
字号:
unit Mpeg1DecodeDll;
interface
uses Windows;
const DllName = 'Mpeg1Decode.dll';
function Mpeg1Decode_Init(): bool; stdcall; external DllName;
function Mpeg1Decode_OpenVideo(hWnd: Thandle; r: TRECT; iSeek: DWORD = 0): bool; stdcall; external DllName;
function Mpeg1Decode_PlayVideo(): Bool; stdcall; external DllName;
function Mpeg1Decode_PauseVideo(): Bool; stdcall; external DllName;
function Mpeg1Decode_ResumeVideo(): Bool; stdcall; external DllName;
function Mpeg1Decode_StopVideo(): Bool; stdcall; external DllName;
function Mpeg1Decode_CloseVideo(): Bool; stdcall; external DllName;
function Mpeg1Decode_UnInit(): Bool; stdcall; external DllName;
function Mpeg1Decode_SendBuf(buf: pbyte; lbufsize: longlong): DWORD; stdcall; external DllName;
function Mpeg1Decode_ReSizeWindowRect(r: TRect): Bool; stdcall; external DllName;
function Mpeg1Decode_SetHWND(hwnd: Thandle): Bool; stdcall; external DllName;
function Mpeg1Decode_SetNewHWND(hwnd: Thandle): Bool; stdcall; external DllName;
function Mpeg1Decode_SetWindowRect(r: Trect): Bool; stdcall; external DllName;
function Mpeg1Decode_FullScreenVideo(bFull: BOOL): Bool; stdcall; external DllName;
procedure Mpeg1Decode_About(); stdcall; external DllName;
procedure Mpeg1Decode_PopupAudioPropDlg(hwnd: Thandle); stdcall; external DllName;
function Mpeg1Decode_GetMinimalVolume: DWORD; stdcall; external DllName;
function Mpeg1Decode_GetMaximalVolume: DWORD; stdcall; external DllName;
function Mpeg1Decode_GetCurrentVolume: DWORD; stdcall; external DllName;
procedure Mpeg1Decode_SetCurrentVolume(dwValue: DWORD); stdcall; external DllName;
function Mpeg1Decode_GetMpegFilePacketHead(FileName: Pchar; dwPackStartPos: PDWORD): Bool; stdcall; external DllName;
function Mpeg1Decode_CheckIsDatFormat(FileName: Pchar): Bool; stdcall; external DllName;
function Mpeg1Decode_CheckIsMpegFile(FileName: Pchar): Bool; stdcall; external DllName;
function Mpeg1Decode_IsFreeChannel(const ParentHandle: HWND; const IpAddress: pchar; const Port: integer): Bool; stdcall; external DllName;
function Mpeg1Decode_IsPlayingChannel(const ParentHandle: HWND; const IpAddress: pchar; const Port: integer): Bool; stdcall; external DllName;
implementation
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -