Click here to Skip to main content
15,884,917 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error Pin
With_problem20-Jul-06 18:07
With_problem20-Jul-06 18:07 
GeneralRe: error Pin
anu_8820-Jul-06 18:25
anu_8820-Jul-06 18:25 
GeneralRe: error Pin
With_problem20-Jul-06 18:57
With_problem20-Jul-06 18:57 
GeneralRe: error Pin
anu_8820-Jul-06 19:19
anu_8820-Jul-06 19:19 
AnswerRe: error Pin
Michael Dunn20-Jul-06 19:12
sitebuilderMichael Dunn20-Jul-06 19:12 
GeneralRe: error Pin
With_problem20-Jul-06 19:19
With_problem20-Jul-06 19:19 
AnswerRe: error Pin
sheetal_0620-Jul-06 21:15
sheetal_0620-Jul-06 21:15 
QuestionHow to get USB device address? Pin
linshi20-Jul-06 17:01
linshi20-Jul-06 17:01 
for (index=0; SetupDiEnumDeviceInterfaces(deviceInfo, 0, (LPGUID)&GUID_CLASS_USB, index, &DeviceInterfaceData); index++) {
memset(tempstr, 0, 1024);
deviceDetailData = (PSP_DEVICE_INTERFACE_DETAIL_DATA)tempstr;
deviceDetailData->cbSize = sizeof(SP_DEVICE_INTERFACE_DETAIL_DATA);
SetupDiGetDeviceInterfaceDetail(deviceInfo, &DeviceInterfaceData, deviceDetailData, 1024, &requiredLength, NULL);

hUSBHandle = CreateFile(deviceDetailData->DevicePath, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
CloseHandle(hUSBHandle);
}

I would like enumerate all usb devices and get their device address.
How could I do?

Thanks and regards
QuestionSystem-Wide WriteProcessMemory Hook Pin
capricious_00120-Jul-06 16:56
capricious_00120-Jul-06 16:56 
Questionchecksum Pin
thathvamsi20-Jul-06 16:18
thathvamsi20-Jul-06 16:18 
AnswerRe: checksum [modified] Pin
anu_8820-Jul-06 18:33
anu_8820-Jul-06 18:33 
QuestionBig Int Class Pin
JrunkDunc20-Jul-06 16:02
JrunkDunc20-Jul-06 16:02 
AnswerRe: Big Int Class Pin
toxcct20-Jul-06 23:14
toxcct20-Jul-06 23:14 
AnswerRe: Big Int Class Pin
JrunkDunc21-Jul-06 12:49
JrunkDunc21-Jul-06 12:49 
Questionhow to create instance??? [modified] Pin
With_problem20-Jul-06 16:01
With_problem20-Jul-06 16:01 
AnswerRe: how to create instance??? Pin
Christian Graus20-Jul-06 16:43
protectorChristian Graus20-Jul-06 16:43 
AnswerRe: how to create instance??? Pin
ThatsAlok21-Jul-06 0:06
ThatsAlok21-Jul-06 0:06 
QuestionReadProcessMemory and dynamic memory allocation Pin
are_all_nicks_taken_or_what20-Jul-06 12:40
are_all_nicks_taken_or_what20-Jul-06 12:40 
AnswerRe: ReadProcessMemory and dynamic memory allocation Pin
Hamid_RT27-Jul-06 7:56
Hamid_RT27-Jul-06 7:56 
QuestionHow to retrieve USB flash drive mount point Pin
mmhu20-Jul-06 11:51
mmhu20-Jul-06 11:51 
QuestionVectors Pin
BlitzPackage20-Jul-06 11:01
BlitzPackage20-Jul-06 11:01 
AnswerRe: Vectors Pin
Chris Losinger20-Jul-06 11:10
professionalChris Losinger20-Jul-06 11:10 
GeneralRe: Vectors Pin
BlitzPackage20-Jul-06 11:36
BlitzPackage20-Jul-06 11:36 
GeneralRe: Vectors Pin
David Crow20-Jul-06 11:42
David Crow20-Jul-06 11:42 
GeneralRe: Vectors Pin
Chris Losinger20-Jul-06 11:48
professionalChris Losinger20-Jul-06 11:48 

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.