i think i have a lead to a question that has been asked a lot of times, but as far as i know (please correct me if im wrong) has never been answered...
the question is, how can a program be notified the minute a cd is inserted into the tray....
this is my lead....
it's obvious it has something to do with mci (duh, that's how you can open a tray through a program) and i was looking the other day at api-guide on "mciSendString"....
i noticed the last parameter, "hwndCallback"....
here is the description: "Handle of a callback window if the 'notify' flag was specified in the command string." !
this means, our program can be notified somehow if we do a certain mci command and add "notify" to it...
it might just work, please help me solve this everlasting question!