Hi
I need some good study material related to it. How can i eject my DVD ROM drive using C coding. similarly, how can i change fan speed, how can i shut down my PC using C coding. I need urgently.
syeda amna
0
Light Poster
Recommended Answers
Jump to PostDVD drive and fan control depends on the system and mobo/DVD drive, as well as your operating system. This is not like DOS where you can control everything you want, from your program. THAT was WAY too hacker/virus/malware friendly. Nowadays, anything you want to do like this, you do it …
Jump to Postis it not the same thing as ioctl??
Well, ioctl is essentially the means for userland to communicate with the kernel. For example Windows uses ioctl-like commands as follows to open the CD tray:
#include <windows.h> #include <stdio.h> int main(void) { DWORD bytes = 0; …
All 5 Replies
Adak
419
Nearly a Posting Virtuoso
spammyyammy
0
Newbie Poster
syeda amna
0
Light Poster
spammyyammy
0
Newbie Poster
BobS0327
24
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.