silicon 请进(50分)

欢_乐

Unregistered / Unconfirmed
GUEST, unregistred user!
function FMPCallbackProc(bMsg: Byte;
hMPEGStream: Byte;
dwValue: DWORD): WORD stdcall;
....
begin

Result:= 0;
try
Buf:= Pointer(FMPGet(hMPEGStream, FMPI_STM_USER));
case bMsg of
FMPM_BUF_CREATE: Result:= CreateBuf;
FMPM_BUF_CLOSE : CloseBuf;
FMPM_BUF_SEEK : SetFilePointer(Buf.hFile, dwValue, nil, FILE_begin
);
FMPM_BUF_POS : PosBuf;
FMPM_BUF_EMPTY : BufEmpty;
FMPM_ERROR : ProcessError;
end;

except
end;

end;

看了你以前的贴子,想请教CreateBuf,CloseBuf,PosBuf,BufEmpty,ProcessError如何写
 
欢_乐:
你知道怎样在FORM上播放文件吗?就是怎样指定一个界面来播放文件。
 
我以前用mcisendstring做过,在那里面是用window命令,你找一下delphi帮助里的ms sdk吧,
讲得比较清楚,我想应该有对应的命令吧。。。
我不知道该如何使视屏在TV和VGA之间切换,你会吗????
 
DVD SDK FMPBUF中有VC的源代码。
 
顶部