PDA

View Full Version : HASP SRM DeviceIo


crkzone
05-11-2009, 01:43 AM
Does anyone notice that in the new SRM envelope code despite previous versions no actual IO calls to the dongle is made before it actually find out that no physical device is attached?

I have made logs of API and just once DeviceIo called :>

DeviceIoControl(9c, 9c402468, 0,0, 0,0):
res=1, *lpBytesReturned=0

Is it something to do with SetupApi calls?

Thanks in advance

Cata
05-11-2009, 09:14 AM
The deviceIOcontrol is made by different process (SRM hasp).

crkzone
05-11-2009, 10:14 AM
Yes you are right , Hasplms.exe is ultimately responsible for DeviceIo calls.

Have anyone tried hooking DeviceIoctrl ?

Cata
05-11-2009, 02:02 PM
The problem is not hooking but emulating.
The right question is: Did someone succeeded to emulate Hasp SRM ?