Omnipower
asked on
what windows sdk function do I call to eject the cd?
what windows sdk method do I call to eject the cd? (also, what sdk method will cause the cd door to be closed?)
please give me an example of calling the code also - thanks
please give me an example of calling the code also - thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Anything else you need to know about this issue?
This comment is to LeeTutor...
This is an operating specific question. The way you eject a cd is different in Windows Vs Linux. It is not a C language function to define device capabilites. If he can't see this, could someone pass this info along to him?
Bill
This is an operating specific question. The way you eject a cd is different in Windows Vs Linux. It is not a C language function to define device capabilites. If he can't see this, could someone pass this info along to him?
Bill
>>The way you eject a cd is different in Windows Vs Linux
Yes, but how do you interpret 'windows sdk' in the title of the Q?
Yes, but how do you interpret 'windows sdk' in the title of the Q?
Just my point - its a Windows question.
There are no C constructs that talk to cd drives or anything other device. That happens through OS provided libraries. Every Os provides the libraries to do that. To be more exact, they come with the compiler but are unique to the OS.
This question is not a C language problem.
There are no C constructs that talk to cd drives or anything other device. That happens through OS provided libraries. Every Os provides the libraries to do that. To be more exact, they come with the compiler but are unique to the OS.
This question is not a C language problem.
>>Just my point - its a Windows question.
"I can move this to a more appropriate area if you tell me what language." vs. "C on Windows XP"
What kind of point are you trying to make?
"I can move this to a more appropriate area if you tell me what language." vs. "C on Windows XP"
What kind of point are you trying to make?
My point is that the C language has nothing to do with what you can do to a cd drive. This forum is for questions about the C language. That, to me, includes syntax, algorithms and usage. It also includes the standard C libraries (i.e. strcpy, printf, and all similar os independent functions). The windows sdk is not a standard C library. It is a windows library that is accessable by C, pascal, Basic, assembler etc.
While you may use the C language to control a cd drive, you can also use any other language that has a compiler or interpreter on that OS.
In short, the title had it correct (windows sdk).
It is a Windows question.
While you may use the C language to control a cd drive, you can also use any other language that has a compiler or interpreter on that OS.
In short, the title had it correct (windows sdk).
It is a Windows question.
I am sorry to say so, but: If you would enforce that policy, this TA would be plain *empty* if any OS specifics (and there's more than just Windows) would be ruled out, such as any EE TA that addresses a particular programming language. If you have any problems or resentments with questions related to Windows - ignore them.
BTW, this definietly *is* related to the C Programming Language. No doubt about that, noone asked for PASCAL code.
BTW, this definietly *is* related to the C Programming Language. No doubt about that, noone asked for PASCAL code.
ASKER