mpeg1decodedll.pas
来自「局域网VCD影院 用DELPHI 编写的 局域网VCD影院」· PAS 代码 · 共 41 行
PAS
41 行
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 + =
减小字号Ctrl + -
显示快捷键?