![]() ![]() ![]() ![]() if (header1.signature != 0x4d42 || header1. I manually give the mount location, on fedora usb drives are mounted atįread(&header1,sizeof(header1),1,usb_ptr) įread(&header2,sizeof(header2),1,usb_ptr) Īfter copying the first few bytes of the USB disk, perform a check to see if we found a BMPįile, if its not a BMP scan in the next few bytes and so on. Printf("error opening USB Drive for reading") I plan to read the raw data bytes using fread. how will the program know when it reaches the end of file. My questions are regarding scanning the usb drive. I completed the header files that will contain the image metadata. Scroll down and double-click Universal Serial Bus controllers. Started working on a simple C program to scan for images files on a USB disk(BMP,Jpeg etc.). Windows 8 and 10 have added a feature to scan and index devices attached to the host machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |