|
Hi All,
I would like to know how the File Handling APIs provided by Windows are passed on to the NTFS driver. What are the various layers through which these API calls are taken before the file system driver actually converts it into low level system calls. Suppose I want to programmatically open a file in C++, then I would make a call to OpenFile() method provided by Win SDK. Then, what are the various stages before the call is actually taken by the file system driver. Do we have any control at the driver stage of the call?
Please help,
Abhishek.
Learning is a never ending process of Life.
|
|
|
|
|
Read Inside Windows 2000 by David Solomon and Mark Russinovich (MS Press).
For CreateFile (there is no OpenFile ), the entry point in kernel32.dll converts the file name into an absolute path suitable for the object manager, converts the other parameters as appropriate, then calls NtCreateFile in ntdll.dll . This is a fairly simple routine which executes software interrupt 0x2e (Windows 2000) or uses the SYSENTER instruction (Windows XP) to change to kernel mode and execute the kernel mode NtCreateFile routine. From there, the object manager (an Executive component) is used to locate the device object corresponding to the file system, whose Parse function is called to process the rest of the path.
You probably want to write a file system filter driver: a driver that sits above the file system and gets to see and manipulate I/O Request Packets destined for the file system.
I think you need the Installable File System kit[^] for developing file system filter drivers.
|
|
|
|
|
Hi
I had installed visual studio 6.0 and then installed Visual Studio .NET and other framework related files. Due to space constriant i uninstalled Visual Studio .NET. Now i am not able to use any of the help files in any application (".CHM" files). I tried installing MSDN for VS 6.0 after copying all the files it prompts about a newer version of help exists in system.
I am using Windows XP home edition (updated will all critical updates etc...)
Can somebody help me on this help issue, do i have to reinstall the XP?
Thanx
Harish
|
|
|
|
|
I'm pretty sure that Windows XP comes with a newer version of the HTML Help control than MSDN for Visual Studio 6.0 does.
It should allow you to continue the installation after acknowledging the useless message box.
|
|
|
|
|
Anyone know how to disable the ****ing power key on keyboards please? If I hit that pigging key again..........................
I feel like I'm diagonally parked in a parallel universe
Jeremy Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
The last time I saw a design dumb enough to include a power key on the keyboard, I was using an Apple IIC! What kind of keyboard are you using? Can you snap the keycap off the bugger? Or just drop a dollop of superglue on it.
"Nobody is Ugly at 2AM"
|
|
|
|
|
Roger Wright wrote:
The last time I saw a design dumb enough to include a power key on the keyboard, I was using an Apple IIC! What kind of keyboard are you using? Can you snap the keycap off the bugger? Or just drop a dollop of superglue on it.
It's called "Benq", whoever they are. Working for the company I do, it will definately be the cheapest keyboard possible!!!
I feel like I'm diagonally parked in a parallel universe
Jeremy Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
Your probably gonna have to disable on the motherboard, maybe the bios will do it.
Matt Newman Sonork: 100:11179
"Battleship, was the first game that taught you to lie" - Zachery
|
|
|
|
|
I assume it is working via a "driver" prog loaded on startup, I have seen this method on a friends PC runing 98, i.e. a keyboard hook checking for various special keypresses. If so kill it, or try and remove this key deignation from the config.
It is amazing what you can accomplish if you do not care who gets the credit. - Harry S Truman
|
|
|
|
|
|
My secondary hard drive is detected in the bios, and is displayed in Disk Management, but it is not displayed in My Computer, does anybody know how to get it there?
To those who didn't make it, we will remember you. To those who did is back. - Megan Forbes in Black FridayAnother Post by NnamdiOnyeyiri
|
|
|
|
|
|
i forgot to mention that the drive has two partitions on it, and a whole load of data i would like to keep.
To those who didn't make it, we will remember you. To those who did is back. - Megan Forbes in Black FridayAnother Post by NnamdiOnyeyiri
|
|
|
|
|
Is it formatted as FAT32 or NTFS, or is it formatted as another file system?
LPCTSTR Dutch = TEXT("Double Dutch ");
|
|
|
|
|
sorry, i forgot to post that i had fixed it. i found in a KB article that GoBack screws wit hthe boot record, and it confuses windows, all i had to do was disable goback.
To those who didn't make it, we will remember you. To those who did is back. - Megan Forbes in Black FridayAnother Post by NnamdiOnyeyiri
|
|
|
|
|
Better to much solutions as no solution
LPCTSTR Dutch = TEXT("Double Dutch ");
|
|
|
|
|
OK, I'm rather new to Windows Servers, but I need to do the following:
I have installed Office 2003 on a Windows Server 2003 Enterprise server. The drive where it is shared on is read only to other users, except the Administrator. What I want to do is to use this Office installation for the workstations as well. However, I know that I need to install some of the components on the client machines to get this working, but which components need to be installed and how they must installed I don't know. Is there anyone who knows a solution for this problem.
N.B. I rather don't use Terminal Services for this.
Thanks in Advance,
Sjoerd van Leent
|
|
|
|
|
Hi,
After installing Windows XP Pro, After activation of the software it works for about two days and then the error message appears -- NTLDR Missing Please Press Ctrl Alt Delete to restart your computer.
Has anyone seen this before ??
Thanks
Tony
|
|
|
|
|
2TallTony wrote:
Has anyone seen this before ??
Yes, basically something/someone has deleted the NT Loader (Actually thats a guess, but it makes sense so it should be right) The only way I've seen around it is to reinstall.
Matt Newman Sonork: 100:11179
"Battleship, was the first game that taught you to lie" - Zachery
|
|
|
|
|
|
My sister did this recently on her home computer, and she's an MS Exchange support tech...
Floppy disks formatted with Windows 98 and later (IIRC) report 'Boot: Missing NTLDR' if they haven't got system support files on.
|
|
|
|
|
2TallTony wrote:
Has anyone seen this before ??
My scenario was.... I had the PC with 2000, XP (i had problems in both), when I try to boot my PC, with a floppy inside the floppy drive, this message comes. Just remove the floppy and then continue booting, it works fine.
- This may not be a solution or a fix to a problem, but was just trying to eliminate the 'worst case' option I faced...
I was born intelligent Education ruined me!.
|
|
|
|
|
Well, I found what the problem was, I created the partition using a Win98 boot disk through FDISK, I guess when this is done the OS gets a little confused between FAT32 and NTFS file system format. The problem was taken care of by booting from the CD and formatting with the util built into the WinXP build. Thanks All for your helpful replies.
Tony
|
|
|
|
|
Hi,,
I use Win2000 Adv. Server (trial version)
each time windows starts I get a message box like :
One or more services could not run .. check Event viewer..
how can i prevent this message from appearing ? (even without fixing the problem that causes it)
|
|
|
|
|
simply disable the offending service in the Services MMC.
Hope this helps ...
Chris
|
|
|
|