You've already forked lazarus-ccr
* Dont cancel edit in WMKeydown under gtk1 (LCL bug 8865) * Cleanup of objects and minimal demos git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@164 8e941d3f-bd1b-0410-a28a-d453659cc2b4
39 lines
486 B
ObjectPascal
39 lines
486 B
ObjectPascal
unit mmsystem;
|
|
|
|
{$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.
|
|
|