欢
欢_乐
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如何写
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如何写