testdllindex.out

来自「格式化源码的最新板」· OUT 代码 · 共 27 行

OUT
27
字号
unit TestDllIndex;

interface

uses Windows;

function Spaces(n: cardinal): string;
function RestartDialog(Wnd: HWnd; Reason: PChar; Flags: integer): integer;
  stdcall; external 'shell32.dll' index 59;

implementation

uses SysUtils;

{*------------------------------------------- 
Returns a string filled with spaces 
 
@param n Number of spaces expected 
@return Space filled string 
---------------------------------------------}
function Spaces(n: cardinal): string;
begin
  Result := IntToStr(n);
end;

end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?