最近帮一个朋友看一个软件,它用到了DeviceIoControl函数,不过对以下几个函数不太明白其参数和返回值是一个什么样的结构,内容是什么,请高手指点,谢谢先:
0012F620 2000196E /CALL 到 DeviceIoControl 来自 20001968
0012F624 0000005C |hDevice = 0000005C
0012F628 0004D004 |IoControlCode = 4D004
0012F62C 0012F650 |InBuffer = 0012F650
0012F630 0000002C |InBufferSize = 2C (44.)
0012F634 0012F650 |OutBuffer = 0012F650
0012F638 00000074 |OutBufferSize = 74 (116.)
0012F63C 0012F64C |pBytesReturned = 0012F64C
0012F640 00000000 \pOverlapped = NULL
0012F7FC 004B0E23 /CALL 到 DeviceIoControl 来自 004B0E1D
0012F800 0000005C |hDevice = 0000005C
0012F804 0004D014 |IoControlCode = 4D014
0012F808 0055D400 |InBuffer = JSA2G.0055D400
0012F80C 0000002C |InBufferSize = 2C (44.)
0012F810 0055D400 |OutBuffer = JSA2G.0055D400
0012F814 00000050 |OutBufferSize = 50 (80.) 返回30
0012F818 0012F828 |pBytesReturned = 0012F828
0012F81C 00000000 \pOverlapped = NULL
0012F554 20001A97 /CALL 到 DeviceIoControl 来自 20001A91
0012F558 0000005C |hDevice = 0000005C
0012F55C 00024000 |IoControlCode = 24000
0012F560 00000000 |InBuffer = NULL
0012F564 00000000 |InBufferSize = 0
0012F568 0012F580 |OutBuffer = 0012F580
0012F56C 00000324 |OutBufferSize = 324 (804.) 返回14
0012F570 0012F57C |pBytesReturned = 0012F57C
0012F574 00000000 \pOverlapped = NULL
想知道IoControlCode = 4D004,4D014,24000时DeviceIoControl是在干嘛.
以上是三次调用时ESP里的内容.
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课