Click here to Skip to main content
15,921,203 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionChanging the size of a window Pin
rschocks7-Mar-07 4:55
rschocks7-Mar-07 4:55 
QuestionRe: Changing the size of a window Pin
David Crow7-Mar-07 4:59
David Crow7-Mar-07 4:59 
AnswerRe: Changing the size of a window Pin
rschocks7-Mar-07 5:05
rschocks7-Mar-07 5:05 
GeneralRe: Changing the size of a window Pin
David Crow7-Mar-07 5:15
David Crow7-Mar-07 5:15 
GeneralRe: Changing the size of a window Pin
rschocks7-Mar-07 12:44
rschocks7-Mar-07 12:44 
GeneralRe: Changing the size of a window Pin
Hamid_RT7-Mar-07 7:12
Hamid_RT7-Mar-07 7:12 
AnswerRe: Changing the size of a window Pin
led mike7-Mar-07 5:08
led mike7-Mar-07 5:08 
QuestionRetrieving drive letter using drive device path Pin
tufkap7-Mar-07 4:27
tufkap7-Mar-07 4:27 
Hi,

I am looking for information on how to retrieve a drive's drive letter given the drive's device path (eg: \\?\ide#diskibm-dtla-307030_________________________tx4oa50c#5&230d196c&0&0.0.0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}. I get the device path by registering for device notifications for the GUID_DEVINTERFACE_DISK class and processing the DEV_BROADCAST_DEVICEINTERFACE structure received as part of the notifications.

I tried to do this by matching the device type and device number retrieved by sending IOCTL_STORAGE_GET_DEVICE_NUMBER to all drives on the system, but this method seems to fail if there is a RAM drive on the system. I get multiple drives with the same device type and number. Is this expected behaviour?

Is there a more reliable and simpler way to do this? Any help is greatly appreciated.

Thanks,
Priya
Questionip configure Pin
deeps_cute7-Mar-07 4:06
deeps_cute7-Mar-07 4:06 
JokeRe: ip configure Pin
Maximilien7-Mar-07 4:23
Maximilien7-Mar-07 4:23 
GeneralRe: ip configure Pin
David Crow7-Mar-07 4:25
David Crow7-Mar-07 4:25 
Questionclosing tab control Pin
deeps_cute7-Mar-07 3:36
deeps_cute7-Mar-07 3:36 
QuestionRe: closing tab control Pin
Mark Salsbery7-Mar-07 5:26
Mark Salsbery7-Mar-07 5:26 
QuestionService Manager problem Pin
david bagaturia7-Mar-07 3:34
david bagaturia7-Mar-07 3:34 
AnswerRe: Service Manager problem Pin
kakan7-Mar-07 4:10
professionalkakan7-Mar-07 4:10 
QuestionHow do I debug a dll which is used by java? Pin
IlanTal7-Mar-07 3:09
IlanTal7-Mar-07 3:09 
AnswerRe: How do I debug a dll which is used by java? Pin
James R. Twine7-Mar-07 3:21
James R. Twine7-Mar-07 3:21 
GeneralRe: How do I debug a dll which is used by java? Pin
IlanTal7-Mar-07 3:35
IlanTal7-Mar-07 3:35 
GeneralRe: How do I debug a dll which is used by java? Pin
James R. Twine7-Mar-07 4:14
James R. Twine7-Mar-07 4:14 
GeneralRe: How do I debug a dll which is used by java? Pin
IlanTal7-Mar-07 19:36
IlanTal7-Mar-07 19:36 
Questionsystem(command) help Pin
nadiric7-Mar-07 2:46
nadiric7-Mar-07 2:46 
AnswerRe: system(command) help Pin
David Crow7-Mar-07 2:49
David Crow7-Mar-07 2:49 
AnswerRe: system(command) help Pin
toxcct7-Mar-07 3:01
toxcct7-Mar-07 3:01 
QuestionUsing PeekMessage Problem? Pin
bosfan7-Mar-07 2:40
bosfan7-Mar-07 2:40 
AnswerRe: Using PeekMessage Problem? Pin
prasad_som7-Mar-07 2:43
prasad_som7-Mar-07 2:43 

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.