From: SMTP%"rick@rdperf.com" 31-DEC-1997 16:56:00.00 To: SMTP%"ychauhan@opentech.stpn.soft.net" CC: NTDEV,RICK Subj: Re: [ntdev] physical sector read from hard disk Return-Path: owner-ntdev@atria.com Received: by arisia.gce.com (UCX V4.1-12C, OpenVMS V7.1 VAX); Wed, 31 Dec 1997 16:55:52 -0500 Received: by gw.atria.com id Wed, 31 Dec 1997 14:01:54 -0500 Received: from SPIA by gw.atria.com id Wed, 31 Dec 1997 14:01:49 -0500 From: rick@rdperf.com Date: Wed, 31 Dec 1997 11:00:12 -0800 Message-Id: <97123111001232@rdperf.com> To: ychauhan@opentech.stpn.soft.net, ntdev@atria.com Subject: Re: [ntdev] physical sector read from hard disk X-VMS-To: SMTP%"ychauhan@opentech.stpn.soft.net" X-VMS-Cc: NTDEV,RICK Sender: owner-ntdev@atria.com Precedence: bulk X-Majordomo-Taboo: ntdev >Hell guys. Can any body tell me how to read or write to physical sector >of a hard disk. > Open the physical drive with CreateFile "\\.\PHYSICALDRIVE#", then ReadFile. The offset/byte count are for the physical disk. I believe that this also requires the the offset/byte count be multiples of the sector size. Rick Cadruvi R&D Performance Group, Inc. rick@rdperf.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntdev-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ]