您现在的位置是: 软件 > 设计在线 > 网页陶吧 > 技术平台 > HTML学习 > 正文


-Win xp中的多种网络
-试验试验试验试验
-用Freehand实现位图矢量化
-网络电话面面观

Delphi三十六之硬件篇
2001-01-15· ·陈立平··yesky

上一页  1 2  

 asm
  dw 310Fh
  mov TimerLo, eax
  mov TimerHi, edx
 end;

 Sleep(DelayTime);
 asm
  dw 310Fh
  sub eax, TimerLo
  sbb edx, TimerHi
  mov TimerLo, eax
  mov TimerHi, edx
 end;

 SetThreadPriority(GetCurrentThread, Priority);
 SetPriorityClass(GetCurrentProcess, PriorityClass);
 Result := TimerLo / (1000.0 * DelayTime);

 end;

  3.获取当前机器的所有物理内存

function GetMemoryTotalPhys : Dword;

 var
  memStatus: TMemoryStatus;

 begin
  memStatus.dwLength := sizeOf ( memStatus );
  GlobalMemoryStatus ( memStatus );
  Result := memStatus.dwTotalPhys;
end;

上一页  1 2  

■ 相关内容
 VxD技术及其在实时反病毒中的应用
 Delphi三十六之数据库篇
 delphi三十六之网络篇
 delphi三十六之编辑篇
 Delphi之三十六计之界面篇
 Delphi之三十六计之系统篇
 delphi三十六之磁盘篇
 delphi三十六之加密篇
感谢 访问天极网,如果您觉得该文章涉及版权问题,请看这里!