Thanks Antonio!
Now I'm in doubt with another stuff. How do I declare this parameter in dll code?
Here is the example in Delphi:
DLL declaration
NBioAPI_GetInitInfo = Function(hHandle : DWORD; nStructureType : BYTE ; pInitInfo : NBioAPI_INIT_INFO_PTR_0):DWORD; stdcall;
structure declaration
NBioAPI_INIT_INFO_PTR_0 = ^NBioAPI_INIT_INFO_0;
NBioAPI_INIT_INFO_0 = record
StructureType : DWORD; // must be 0
MaxFingersForEnroll : DWORD; // Default = 10
SamplesPerFinger : DWORD; // Default = 2 : not used
DefaultTimeout : DWORD; // Default = 10000ms = 10sec
EnrollImageQuality : DWORD; // Default = 50
VerifyImageQuality : DWORD; // Default = 30
IdentifyImageQuality : DWORD; // Default = 50
SecurityLevel : DWORD; // Default = NBioAPI_FIR_SECURITY_LEVEL_NORMAL
end;
As you can see my problem is just with the last parameter, that is: pInitInfo : NBioAPI_INIT_INFO_PTR_0
I declared this dll function like this in FWH
DLL32 FUNCTION NBioAPI_GetInitInfo(hHandle as DWORD, nStructureType as BYTE, pInitInfo as ??????) AS DWORD PASCAL LIB "NBioBSP.dll"
how about the last one with "??????" ? I really dont know how to declare the structure type info as a dll parameter.
Although, I''ve more than three functions in this dll with this kind of parameter
Thanks again for anyhelp!