|
hi,
how i am get serial of my hard disk.
|
|
|
|
|
DWORD GetSerialNumber(int nDrive)
{
DWORD dwHDSerialNum = 0;
if (!GetVolumeInformation(GetRoot(nDrive), NULL, 0, &dwHDSerialNum,NULL,NULL, NULL, 0))
return (DWORD)-1;
return dwHDSerialNum;
}
|
|
|
|
|
Not the true serial number, for that (I think) you have to go through WMI.
What this gets is Windows internal Volume ID which may change randomly (reformatting of disk etc)
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
See Here[^] maybe it is some helpful to you
|
|
|
|
|
|
Original error message –“Operating system not found”
Assuming IDE0 disk 0 failure..
Running Windows Advanced server 2000 with three hard drives using RAID 5.
Tried to use emergency recovery (with emergency disk) to restore OS.
Received an error ( in setup) that windows need to write to IDE 1 disk 0 but there is no room / partition available – advised by setup to delete partition!. Declined the offer!
Disabled IDE1 in setup – windows run OK. Enabled IDE 1 Disk 0 – windows runs, enabled IDE 1 disk 1 windows runs but no RAID 5 activity!
Disk management reported disk 0 – dynamic on line with errors.
Disk management further reported two dynamic “foreign disks” – off line and two dynamic “missing disks”. Both foreign disks reported wrong capacity. Enabled foreign disks, started windows and now have blue screen – “…cannot find boot device…”.
My next step – disable IDE1 and then reload windows using emergency recovery process again.
Any better idea?
Just do not want to loose the data on the RAID array.
Vaclav
|
|
|
|
|
who could give me a basic flow of this driver? The ISA card is very easy only for reading and writing without interruption.
|
|
|
|
|
For Windows?
What do you want, a flow chart? If so, you wont get one, Windows has the 'main' function, and makes calls into your code when it wants to.
So you will have IO handling. Packet arrives fomr the IO manager, you copy the data to the hardware and set it going and complete the send packet request accordingly.
Data comes in, you pass it up in a receive packet request.
Very linear, very simple.
Untill you come to write a driver, in which case it gets bitchingly complex.
Truth is the subjection of reality to an individuals perception
|
|
|
|
|
What is frame grabber? Thanks
|
|
|
|
|
Next time you want to know what something is, try Wikipedia[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
anyone have experience on the Apple Xserve?? is it the best recently compare to IBM?? i concern on the security on my server for my website, cause customer may log in to my server and key in some information. SO i want to have a strong security which atleast lower the risk of been hack.
i just have some question on the apple product... does it support windows? i check the offical website it said it's unix based... i dont really learn unix b4 but if it easy to control i might use it.
|
|
|
|
|
The G5 in the product name refers to the processor type: 5th generation PowerPC. Windows does not run on this processor. I presume that Apple will soon shift this product line to an Intel processor (probably the server version of the Core 2 Duo, codename 'Woodcrest').
As far as security goes, there have been very few vulnerabilities in Internet Information Services 6.0, which comes with Windows Server 2003. Whatever you choose you should familiarise yourself with how to harden the software - look for a 'security hardening guide' which will tell you how to do this. Also, ensure that you're keeping your system's patches up-to-date.
We've not had much experience with IBM hardware. Most of our customers are using HP ProLiant DL-series servers.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
hi
i want write and read one byte on the special address of VGA Ram .
if you have information about it,or you know articles about it
please help me.
|
|
|
|
|
|
http://www.engineeringproject.net
|
|
|
|
|
|
|
dont sleep . wakeup and act properly.
expect more source codes
http://www.engineeringproject.net
|
|
|
|
|
I use
to kindly tell someone that their post is BORING
Do not advertise in Code Project forums
|
|
|
|
|
ok , if i troubled u with my post,i am very sorry.
and will never repeat this
http://www.engineeringproject.net
|
|
|
|
|
premium1 wrote: if i troubled u with my post,i am very sorry.
Hey, no worries. Good luck with your site
|
|
|
|
|
thank u paul.
http://www.engineeringproject.net
|
|
|
|
|
IF you want to advertise here, buy a banner ad.
|
|
|
|
|
no more ads. sorry dan neely
http://www.engineeringproject.net
|
|
|
|
|
I have set up a windows p2p network in my site office. It consists of 4 computers (1,2,3 & 4) and 3 printers (HP deskjet 1320, HP inkjet 1280 and a Xerox printer). These printers are all connected to computer (1). They are shared. If I send a print job from computer (2) to any HP printer I have no problems. However as soon as any other computer want to send a job to that printer it gives an print error on that computer. The only way to resolve this is to either switch off the printer or diconnect and reconnect the USB cable. Does anybody have an idea what's going on?
By the way I do have the latest drivers from HP!
thanks in advance, Rudy
|
|
|
|