AnonymousKing

Hi All

Am facing a problem in WM_DEVICECHANGE. My win32 application not receiving the message when i insert blank DVD ROMS. the problem is only for blank dvds. (I got the WM_DEVICECHANGE on cds with and without data and DVDs with data. ) .

(1) Is der any need to give notification if yes what could be the class ID

(2) I want to find the type of cd is inserted ie is it a DVD(Empty or Not) or CD Rom (Empty or Not), the maximum data storage capacity etc . Which method to be followed to get this parameters.

Regards

XTD



Re: Windows SDK WM_DEVICECHANGE is not receiving while inserting blank DVD ROM

AnonymousKing


>(
Am facing a problem in WM_DEVICECHANGE. My win32 application not receiving the message when i insert blank DVD
> ROMS. the problem is only for blank dvds. (I got the WM_DEVICECHANGE on cds with and without data and DVDs with
> data. ) .


i Found It. I tested the application with Combo drive. when i check with DVD R/W I got
WM_DEVICECHANGE on blank DVDs. Combo Driver will not sent the device change on blank DVD. It may due to some H/W Limitation or Actually der is no Use of attach a blank DVD in a Reader Smile

But Second problem still remaining Sad

(2) I want to find the type of cd is inserted ie is it a DVD(Empty or Not) or CD Rom (Empty or Not), is the CD is writable, the maximum data storage capacity etc . Which method to be followed to get this parameters .


Regards

XTD





Re: Windows SDK WM_DEVICECHANGE is not receiving while inserting blank DVD ROM

Ramkrishna Pawar

I would go for some kind of CD/DVD burning SDK, for instance nero has one,

http://www.nero.com/nero7/enu/SDK_API.html






Re: Windows SDK WM_DEVICECHANGE is not receiving while inserting blank DVD ROM

AnonymousKing

Actually am making a lite wight application for detecting this values. (later converted to a Dll ) so I feel its better to catch the WM_DEVICECHANGE. pls help me if der option rather than any 3rd party SDKs.

Regards

XTD