16,749
社区成员
发帖
与我相关
我的任务
分享
function A20_SLE4442VerifyPWD(ComHandle: DWORD; _PWData: PByte): Integer;
stdcall; external 'xxx.dll';
// 调用
var
res: Integer;
pwdate: PByte;
begin
GetMem(pwdate, SizeOf(Byte) * 3);
ZeroMemory(pwdate, 0);
res := A20_SLE4442VerifyPWD(com句柄, pwdate);
FreeMem(pwdate);
end;
function A20_SLE4442VerifyPWD(ComHandle: DWORD;
var _PWData: array of Byte): Integer; stdcall; external 'xxx.dll';
// 调用
var
res: Integer;
pwdata: array[0..2] of Byte;
begin
res := A20_SLE4442VerifyPWD(com句柄, pwdata);
end;