Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Number Conversion Octal to Hexadecimal Pin
Tim Craig7-May-10 19:36
Tim Craig7-May-10 19:36 
AnswerRe: Number Conversion Octal to Hexadecimal Pin
Richard MacCutchan7-May-10 22:37
mveRichard MacCutchan7-May-10 22:37 
GeneralRe: Number Conversion Octal to Hexadecimal Pin
djsproject8-May-10 17:39
djsproject8-May-10 17:39 
GeneralRe: Number Conversion Octal to Hexadecimal Pin
Emilio Garavaglia10-May-10 5:02
Emilio Garavaglia10-May-10 5:02 
QuestionHow to get PNP Device Id Pin
Jaligamap7-May-10 9:17
Jaligamap7-May-10 9:17 
AnswerRe: How to get PNP Device Id Pin
Randor 9-May-10 10:16
professional Randor 9-May-10 10:16 
GeneralRe: How to get PNP Device Id Pin
pacchij11-May-10 10:41
pacchij11-May-10 10:41 
GeneralRe: How to get PNP Device Id Pin
Randor 11-May-10 16:47
professional Randor 11-May-10 16:47 
Hi Prashanth,

If you have a look at the following:

System-Defined Device Setup Classes Available to Vendors[^]

You will see that the class ID for disk drives is: {4d36e967-e325-11ce-bfc1-08002be10318}

You need to call CM_Get_DevNode_Registry_Property_Ex[^] with the disk drive class ID. Have a look at the article by A. Riazi.

Enumerate Properties of an Installed Device[^]

You should easily be able to modify the code he provides to retrieve the device ID.

Best Wishes,
-David Delaune
GeneralRe: How to get PNP Device Id Pin
pacchij12-May-10 17:08
pacchij12-May-10 17:08 
GeneralRe: How to get PNP Device Id Pin
pacchij24-May-10 8:20
pacchij24-May-10 8:20 
QuestionClipboard / Win32 Pin
Fareed Rizkalla7-May-10 8:39
Fareed Rizkalla7-May-10 8:39 
QuestionRe: Clipboard / Win32 Pin
David Crow7-May-10 9:06
David Crow7-May-10 9:06 
AnswerRe: Clipboard / Win32 Pin
Fareed Rizkalla7-May-10 10:18
Fareed Rizkalla7-May-10 10:18 
QuestionRe: Clipboard / Win32 Pin
David Crow7-May-10 10:30
David Crow7-May-10 10:30 
AnswerRe: Clipboard / Win32 Pin
Fareed Rizkalla7-May-10 14:12
Fareed Rizkalla7-May-10 14:12 
QuestionRe: Clipboard / Win32 Pin
David Crow7-May-10 17:02
David Crow7-May-10 17:02 
GeneralRe: Clipboard / Win32 Pin
Michael Dunn7-May-10 16:40
sitebuilderMichael Dunn7-May-10 16:40 
QuestionSend data to remote server from CString Pin
mesajflaviu7-May-10 8:25
mesajflaviu7-May-10 8:25 
AnswerRe: Send data to remote server from CString Pin
CPallini7-May-10 8:41
mveCPallini7-May-10 8:41 
AnswerRe: Send data to remote server from CString Pin
«_Superman_»7-May-10 8:48
professional«_Superman_»7-May-10 8:48 
GeneralRe: Send data to remote server from CString Pin
mesajflaviu7-May-10 9:08
mesajflaviu7-May-10 9:08 
QuestionGet resource ID from icon index Pin
cryptoknight177-May-10 7:49
cryptoknight177-May-10 7:49 
QuestionTimeout problem in CHttpFile::SendRequest() Pin
m_code7-May-10 7:49
m_code7-May-10 7:49 
QuestionWhat device context methods are available to Crichedit Pin
ForNow7-May-10 7:10
ForNow7-May-10 7:10 
AnswerRe: What device context methods are available to Crichedit Pin
karle7-May-10 9:43
karle7-May-10 9: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.