Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to extract the system icons and add them to our CImageList object?? Pin
indra2017-Oct-06 22:44
indra2017-Oct-06 22:44 
GeneralRe: how to extract the system icons and add them to our CImageList object?? Pin
David Crow18-Oct-06 2:47
David Crow18-Oct-06 2:47 
GeneralRe: how to extract the system icons and add them to our CImageList object?? Pin
indra2018-Oct-06 20:10
indra2018-Oct-06 20:10 
QuestionRe: how to extract the system icons and add them to our CImageList object?? Pin
David Crow19-Oct-06 4:42
David Crow19-Oct-06 4:42 
Questionopening program Pin
Tara1417-Oct-06 4:48
Tara1417-Oct-06 4:48 
AnswerRe: opening program Pin
David Crow17-Oct-06 5:07
David Crow17-Oct-06 5:07 
GeneralRe: opening program Pin
Tara1417-Oct-06 6:47
Tara1417-Oct-06 6:47 
QuestionSerial Number Via USB Pin
VonHagNDaz17-Oct-06 3:43
VonHagNDaz17-Oct-06 3:43 
Hey guys and gals,

I have a question about obtaining the serial number of a USB device via the USB connection. Ive searched the MSDN documentation, and I know I have to use the _MEDIA_SERIAL_NUMBER_DATA structure, and a call to the DeviceIoControl() function with the IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER flag as the second parameter; however, the documentation is unclear as to the proper way to open the device using CreateFile() to obtain the HANDLE for the first arguement for the DeviceIoControl()function. Any help or suggestions would be greatly appreciated.
AnswerRe: Serial Number Via USB Pin
David Crow17-Oct-06 4:01
David Crow17-Oct-06 4:01 
GeneralRe: Serial Number Via USB Pin
VonHagNDaz17-Oct-06 4:20
VonHagNDaz17-Oct-06 4:20 
GeneralRe: Serial Number Via USB Pin
Cedric Moonen17-Oct-06 4:32
Cedric Moonen17-Oct-06 4:32 
GeneralRe: Serial Number Via USB Pin
VonHagNDaz17-Oct-06 4:42
VonHagNDaz17-Oct-06 4:42 
GeneralRe: Serial Number Via USB Pin
VonHagNDaz17-Oct-06 5:05
VonHagNDaz17-Oct-06 5:05 
QuestionRe: Serial Number Via USB Pin
David Crow17-Oct-06 5:10
David Crow17-Oct-06 5:10 
AnswerRe: Serial Number Via USB Pin
VonHagNDaz17-Oct-06 5:34
VonHagNDaz17-Oct-06 5:34 
QuestionRe: Serial Number Via USB Pin
David Crow17-Oct-06 6:22
David Crow17-Oct-06 6:22 
AnswerRe: Serial Number Via USB Pin
VonHagNDaz17-Oct-06 7:05
VonHagNDaz17-Oct-06 7:05 
QuestionRe: Serial Number Via USB Pin
David Crow17-Oct-06 7:22
David Crow17-Oct-06 7:22 
AnswerRe: Serial Number Via USB Pin
VonHagNDaz17-Oct-06 7:32
VonHagNDaz17-Oct-06 7:32 
QuestionRe: Serial Number Via USB Pin
David Crow17-Oct-06 7:41
David Crow17-Oct-06 7:41 
AnswerRe: Serial Number Via USB Pin
VonHagNDaz17-Oct-06 7:45
VonHagNDaz17-Oct-06 7:45 
QuestionRe: Serial Number Via USB Pin
David Crow17-Oct-06 8:59
David Crow17-Oct-06 8:59 
AnswerRe: Serial Number Via USB Pin
VonHagNDaz17-Oct-06 9:04
VonHagNDaz17-Oct-06 9:04 
GeneralRe: Serial Number Via USB Pin
VonHagNDaz17-Oct-06 10:34
VonHagNDaz17-Oct-06 10:34 
QuestionRe: Serial Number Via USB Pin
David Crow17-Oct-06 10:51
David Crow17-Oct-06 10:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.