mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-22 05:48:14 +02:00
39 lines
494 B
ObjectPascal
39 lines
494 B
ObjectPascal
unit laz.FakeMMSystem;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, Types;
|
|
|
|
function timeBeginPeriod(x1: DWord): DWord;
|
|
|
|
function timeEndPeriod(x1: DWord): DWord;
|
|
|
|
function timeGetTime: DWORD;
|
|
|
|
implementation
|
|
|
|
function timeBeginPeriod(x1: DWord): DWord;
|
|
begin
|
|
|
|
end;
|
|
|
|
function timeEndPeriod(x1: DWord): DWord;
|
|
begin
|
|
|
|
end;
|
|
|
|
function timeGetTime: DWORD;
|
|
var
|
|
ATime: TSystemTime;
|
|
begin
|
|
//todo: properly implement
|
|
GetLocalTime(ATime);
|
|
Result := ATime.MilliSecond;
|
|
end;
|
|
|
|
end.
|
|
|