- 4.47.1.2 -
Standard Units
MMedia Unit
TMMedia Object FieldsTMMedia.MCErrorProc
Targets: Win32 only
MMedia Unit
Points to the error handler procedure, which gets called when the TMMedia
object tries to open non-supported media files. This procedure will be also
called every time the TMMedia object tries to perform any operation if the
media device has not been previously open.
Declaration:
MCIErrorProc: procedure (ErrorCode: UINT);
Remarks:
By default the MCIErrorProc points on following error handler procedure:
procedure DefaultMCIErrorProc(ErrorCode: UINT);
var
Temp: array [0..MAX_PATH] of char;
begin
if isConsole then
Writeln('MCI device fault. Error code #' + IntToStr(ErrorCode))
else
MessageBox(0, StrPCopy(Temp, 'MCI device fault. Error code #'
+ IntToStr(ErrorCode)), 'Error', MB_ICONERROR);
end;
|
|
|
AutoRewind |
Table of Content |
Notify |
- 4.47.1.2 -