Article View: borland.public.cppbuilder.nativeapi
Article #11269Re: Problems getting DISK_GEOMETRY under WinME
From: Bob Gonder
Date: Sat, 21 Feb 2004 22:34
Date: Sat, 21 Feb 2004 22:34
12 lines
1298 bytes
1298 bytes
Walt Morrey wrote:
> nDrive = 0;
> strcpy(DeviceName, "\\.\PhysicalDrive0");
strcpy(DeviceName, "\\\\.\\PhysicalDrive0");
> DeviceName[15] = '0'+nDrive;
DeviceName[17] = '0'+nDrive;
or
DeviceName[sizeof("\\\\.\\PhysicalDrive0")-2] = '0'+nDrive;
Technical Details
Message-ID:
<80mf3018rj96jtav0ef1eeo5qj7svm1806@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4037b73a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,8ef29fec1dea7408 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-21 14:39:34 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Problems getting DISK_GEOMETRY under WinME Date: Sat, 21 Feb 2004 14:34:09 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <80mf3018rj96jtav0ef1eeo5qj7svm1806@4ax.com> References: <4037b73a$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.177.103 X-Trace: newsgroups.borland.com 1077402847 67.31.177.103 (21 Feb 2004 14:34:07 -0800) Lines: 15 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail