A forum for reverse engineering, OS internals and malware analysis 

Forum for discussion about kernel-mode development.
 #15576  by p30arena
 Fri Sep 07, 2012 11:45 am
ok i took another approach
Code: Select all
IoGetDeviceProperty(realobj, DevicePropertyClassGuid, sizeof(devInfo), (PVOID)devInfo, &rlen);
DbgPrint("%ws\n", devInfo);
using this code, i'm gonna print the class guid of, Vpb->RealObject of my Current Irp Stack in IRP_MJ_FILE_SYSTEM_CONTROL under IRP_MN_MOUNT_VOLUME
i tested a TDK USB, the GUID that is printed in the debugger is not present in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB
whats happening exactly?!!!
 #15582  by p30arena
 Fri Sep 07, 2012 12:41 pm
no thats the approach to solve this problem, i always face problems, cause microsoft dares to well Document its kernel api :lol:
but my approach is full of problems too :lol:
whats your opinion ?!
think, that i just want to write a file to usb! and the usb is mounted just right now! how should i do that? :D :(