Prev: DPINST fails to install driver package on Windows 2008 R2 Itanium
Next: Creating a partition programmatically
From: Javier Càceres on 4 Dec 2009 15:41 Hi there. I know how to shut down the whole computer or only the display by programming. But, how to shut down a hard disc by code? Thanks.
From: Kerem Gümrükcü on 4 Dec 2009 17:39 Hi Javier, what do you mean by writing "Shutdown" a Hard Disk? Do you mean enabling/disabling it, or ejecting it, etc,...from kernel or usermode, setting Powerstates for the device, there is a "little" difference on that and different approaches in both modes. Regards Kerem -- ----------------------- Beste Grüsse / Best regards / Votre bien devoue Kerem Gümrükcü Latest Project: http://www.pro-it-education.de/software/deviceremover Latest Open-Source Projects: http://entwicklung.junetz.de ----------------------- "Javier Càceres" <JavierCceres(a)discussions.microsoft.com> schrieb im Newsbeitrag news:9C26B9C1-0730-4F35-8755-47C6F51C08EF(a)microsoft.com... > Hi there. > > I know how to shut down the whole computer or only the display by > programming. > But, how to shut down a hard disc by code? > > Thanks.
From: Pavel A. on 4 Dec 2009 21:34 "Javier C�ceres" <JavierCceres(a)discussions.microsoft.com> wrote in message news:9C26B9C1-0730-4F35-8755-47C6F51C08EF(a)microsoft.com... > Hi there. > > I know how to shut down the whole computer or only the display by > programming. > But, how to shut down a hard disc by code? You seem to have an unusual requirement. Can I ask why do you want this? --pa
From: Tom Handal on 6 Dec 2009 02:30 On Dec 4, 12:41 pm, Javier Càceres <JavierCce...(a)discussions.microsoft.com> wrote: > Hi there. > > I know how to shut down the whole computer or only the display by programming. > But, how to shut down a hard disc by code? > > Thanks. You can take a gander here: http://www.osronline.com/ShowThread.cfm?link=140841 Not sure if that is what you are trying to do, but maybe it will point you in the right direction? Tom
From: Javier Càceres on 9 Dec 2009 15:22 Hello Kerem, Pavel and Tom, When one goes to Control Panel>Power Option there is an option to set the time Windows will wait to shut down hard discs. I want to achieve the same functionality, I don't know what exactly that power option means (if it ejectes discs or it enables/disables discs), but I supose there is a way to do it by using a Win23 method or somethig else. Thank you so much. "Tom Handal" wrote: > On Dec 4, 12:41 pm, Javier Càceres > <JavierCce...(a)discussions.microsoft.com> wrote: > > Hi there. > > > > I know how to shut down the whole computer or only the display by programming. > > But, how to shut down a hard disc by code? > > > > Thanks. > > You can take a gander here: http://www.osronline.com/ShowThread.cfm?link=140841 > > Not sure if that is what you are trying to do, but maybe it will point > you in the right direction? > > Tom > . >
|
Next
|
Last
Pages: 1 2 Prev: DPINST fails to install driver package on Windows 2008 R2 Itanium Next: Creating a partition programmatically |