?? globals.pas
字號:
unit Globals;
interface
uses Classes, sysutils, Variants;
type
IGlobals=interface
['{E97237F2-1C89-498B-9462-51A17E278054}']
function login(const usercode, password: WideString): Integer; safecall;
function getusername(const usercode, password: WideString): WideString;
safecall;
function getadmin(const usercode, password: WideString): WordBool;
safecall;
function getapptitle: WideString; safecall;
function getgroupid(const usercode, username: WideString): Integer;
safecall;
function syslog(const fform, fevent, fuser, fpcname: WideString): Integer;
safecall;
function execsql(const cmdstr: WideString): WordBool; safecall;
function getlargedata(const psql: WideString;
precCount: Integer): OleVariant; safecall;
function applyupdata(pdelta: OleVariant; const ptablename,
pkeyfield: WideString): WordBool; safecall;
function getmaxid(const ptablename, pkeyfield: WideString): Integer;
safecall;
function isunique(const ptablename, pkeyfield,
pkeyvalue: WideString): WordBool; safecall;
function getnumber(pBilltypeid: Integer): WideString; safecall;
function getinnunber(pbilltypeid: Integer): Integer; safecall;
function purchasedetail(pitemid: Integer): OleVariant; safecall;
end;
implementation
end.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -