Article View: borland.public.cppbuilder.nativeapi
Article #12889Directory Handle
From: Paul T
Date: Wed, 12 Nov 2003 09:37
Date: Wed, 12 Nov 2003 09:37
7 lines
1121 bytes
1121 bytes
I know it's possible to obtain a directory handle by using CreateFile, but this needs the correct admin privilages. Is there a way to get the directory handle without having admin? I need the handle to call DeviceIoControl to dismount a removable disk. Appreciated.
Technical Details
Message-ID:
<3fb20d5f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,ef0faa35bd81f24c,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-12 02:39:25 PST From: "Paul T" <paul_thomson21@hotmail.com> Sender: "Paul T" <paul_thomson21@hotmail.com> Reply-To: "Paul T" <paul_thomson21@hotmail.com> Subject: Directory Handle Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 20.138.254.2 NNTP-Posting-Host: 207.105.83.66 Message-ID: <3fb20d5f$1@newsgroups.borland.com> Date: 12 Nov 2003 02:37:19 -0700 X-Trace: newsgroups.borland.com 1068633439 207.105.83.66 (12 Nov 2003 02:37:19 -0700) Lines: 7 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail