Click here to Skip to main content
15,795,861 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Vaclav_28-Nov-12 5:50
Vaclav_28-Nov-12 5:50 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Jochen Arndt28-Nov-12 6:35
professionalJochen Arndt28-Nov-12 6:35 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Vaclav_28-Nov-12 8:03
Vaclav_28-Nov-12 8:03 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Jochen Arndt28-Nov-12 9:19
professionalJochen Arndt28-Nov-12 9:19 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Vaclav_29-Nov-12 6:52
Vaclav_29-Nov-12 6:52 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Jochen Arndt29-Nov-12 7:49
professionalJochen Arndt29-Nov-12 7:49 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Vaclav_29-Nov-12 9:23
Vaclav_29-Nov-12 9:23 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Jochen Arndt29-Nov-12 22:16
professionalJochen Arndt29-Nov-12 22:16 
Just a last note. You are passing 'USB' as class. But the MSDN[^] mentions 'USBDevice'. You may also try using the GUID for USB devices:
C++
// GUID for USB devices that do not belong to other classes (not for host controllers and hubs) 
const GUID GUID_DEVINTERFACE_USB =
    { 0x88BAE032, 0x5A81, 0x49f0, { 0xBC, 0x3D, 0xA4, 0xFF, 0x13, 0x82, 0x16, 0xD6 }};

GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Vaclav_30-Nov-12 3:43
Vaclav_30-Nov-12 3:43 
AnswerRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Cristian Amarie3-Dec-12 9:58
Cristian Amarie3-Dec-12 9:58 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Vaclav_3-Dec-12 13:39
Vaclav_3-Dec-12 13:39 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Cristian Amarie3-Dec-12 18:37
Cristian Amarie3-Dec-12 18:37 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Cristian Amarie3-Dec-12 19:52
Cristian Amarie3-Dec-12 19:52 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Vaclav_4-Dec-12 6:58
Vaclav_4-Dec-12 6:58 
GeneralRe: SetupDiGetDeviceRegistryProperty - buffer size? Pin
Cristian Amarie4-Dec-12 8:11
Cristian Amarie4-Dec-12 8:11 
QuestionShred a folder Pin
MehdiHazrati26-Nov-12 21:52
MehdiHazrati26-Nov-12 21:52 
QuestionRe: Shred a folder Pin
David Crow27-Nov-12 4:57
David Crow27-Nov-12 4:57 
AnswerRe: Shred a folder Pin
MehdiHazrati27-Nov-12 5:26
MehdiHazrati27-Nov-12 5:26 
GeneralRe: Shred a folder Pin
Richard MacCutchan27-Nov-12 5:28
mveRichard MacCutchan27-Nov-12 5:28 
GeneralRe: Shred a folder Pin
MehdiHazrati27-Nov-12 5:50
MehdiHazrati27-Nov-12 5:50 
GeneralRe: Shred a folder Pin
Richard MacCutchan27-Nov-12 6:05
mveRichard MacCutchan27-Nov-12 6:05 
GeneralRe: Shred a folder Pin
MehdiHazrati27-Nov-12 6:23
MehdiHazrati27-Nov-12 6:23 
QuestionRe: Shred a folder Pin
David Crow27-Nov-12 7:04
David Crow27-Nov-12 7:04 
GeneralRe: Shred a folder Pin
Richard MacCutchan27-Nov-12 7:29
mveRichard MacCutchan27-Nov-12 7:29 
QuestionRe: Shred a folder Pin
David Crow27-Nov-12 7:03
David Crow27-Nov-12 7:03 

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.