From: SMTP%"Paul@ultrabac.com" 1-OCT-1997 18:17:49.32 To: "'sagan@dg-rtp.dg.com'" CC: "'ntdev@atria.com'" Subj: RE: registry for drive naming. Return-Path: owner-ntdev@atria.com Received: by arisia.gce.com (UCX V4.1-12C, OpenVMS V7.1 VAX); Wed, 1 Oct 1997 18:11:57 -0400 Received: from mv.mv.com (root@mv.mv.com [192.80.84.1]) by bort.mv.net (8.8.5/mem-951016) with ESMTP id AAA10133 for ; Wed, 1 Oct 1997 00:19:56 -0400 (EDT) Received: from gw.atria.com (gw.atria.com [192.88.237.2]) by mv.mv.com (8.8.5/mem-940616) with SMTP id XAA19330 for ; Tue, 30 Sep 1997 23:48:36 -0400 (EDT) Received: by gw.atria.com id Tue, 30 Sep 1997 18:58:40 -0400 Received: from INQUISITOR.ULTRABAC.COM by gw.atria.com id Tue, 30 Sep 1997 18:58:34 -0400 Received: by INQUISITOR.ULTRABAC.COM with Internet Mail Service (5.0.1457.3) id ; Tue, 30 Sep 1997 16:00:13 -0700 Message-ID: <911379A952ACD0119A4D006097A0EDCF0B7482@INQUISITOR.ULTRABAC.COM> From: Paul Bunn To: "'sagan@dg-rtp.dg.com'" Cc: "'ntdev@atria.com'" Subject: RE: registry for drive naming. Date: Tue, 30 Sep 1997 16:00:12 -0700 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain Sender: owner-ntdev@atria.com Precedence: bulk The structures in this area are purposely left undocumented by Microsoft. It is possible that these structures are changed at any time -- even by a service pack, and it is therefore very inadvisable to consider their usage in any shipping application. If you need "sticky" changes, then you might want to consider installing your application as a service and using the ...DosDevice calls to do the job. Regards, Paul Bunn, BEI, 425-644-6000 Microsoft MVP - WindowsNT http://www.ultrabac.com > -----Original Message----- > From: sagan@dg-rtp.dg.com [SMTP:sagan@dg-rtp.dg.com] > Sent: Tuesday, September 30, 1997 09:18 > To: ntdev@atria.com > Cc: sagan@dg-rtp.dg.com > Subject: registry for drive naming. > > > Question: Does anyone know the format of the binary data in the > registry > key: HK_LOCAL_MACHINE\SYSTEM\DISK\Information? > > > Background: I'm trying to write a program to manage the creation and > naming > of disk partitions. Our application cannot depend on the > windisk > interactive tool. > > I can use the calls QueryDosDevice and DefineDosDevice to > accomplish most of what I need to do, however the problem is > that drive names do not "stick" across reboots. > > I used the NT-Internals tool NTRegmon to find the > DISK\Information > key that I mentioned above, but I cannot consistently map > the > format of the binary data, I can find some of the items in > the > hex dump of the stucture, but a header file would be really > helpful here. > > Any information / hints would be greatly appreciated. > > > --Cyril Sagan > sagan@rtp.dg.com > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > [ To unsubscribe, send email to ntdev-request@atria.com with body > UNSUBSCRIBE (the subject is ignored). ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntdev-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ]