flat assembler
Message board for the users of flat assembler.
Index
> Windows > DeviceIoControl fails when send ATA Command 0F1h |
Author |
|
Picnic 15 Apr 2018, 14:14
hi,
I see a possible error. Use either invoke lstrcpy... or cinvoke strcpy... Hope that helps. |
|||
15 Apr 2018, 14:14 |
|
revolution 15 Apr 2018, 14:17
You might need to give your code a permission. Even if you run it as admin you still need to explicitly enable some permissions each time it runs.
Last edited by revolution on 16 Apr 2018, 12:03; edited 1 time in total |
|||
15 Apr 2018, 14:17 |
|
sinsi 15 Apr 2018, 15:51
ATA security functions are blocked in Windows 8 and above.
|
|||
15 Apr 2018, 15:51 |
|
bruno 19 Apr 2018, 17:34
i run my code onto windows 7 and the DeviceIoControl works returning 1 and it should to lock HDD with a password set by me, however nothing happens and HDD dont have a password. why?
|
|||
19 Apr 2018, 17:34 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.