Author: pschweitzer
Date: Thu Dec 11 22:15:49 2014
New Revision: 65613
URL: http://svn.reactos.org/svn/reactos?rev=65613&view=rev
Log:
[NTFS]
Ach! Wir können noch nicht mit dem ID öffnen!
So far, bail out when we are requested to open a file with its MFT index instead of its name.
nfi triggers this a lot. Likely to be implemented ;-)
CORE-8725
Modified:
trunk/reactos/drivers/filesystems/ntfs/create.c
Modified: trunk/reactos/drivers/filesystems/ntfs/create.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/c…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/create.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/ntfs/create.c [iso-8859-1] Thu Dec 11 22:15:49 2014
@@ -186,6 +186,12 @@
return STATUS_INVALID_PARAMETER;
}
+ if (RequestedOptions & FILE_OPEN_BY_FILE_ID)
+ {
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+ }
+
FileObject = Stack->FileObject;
if (RequestedDisposition == FILE_CREATE ||
Author: pschweitzer
Date: Thu Dec 11 21:58:45 2014
New Revision: 65612
URL: http://svn.reactos.org/svn/reactos?rev=65612&view=rev
Log:
[NTFS]
My dear Pierre, in FSCTL_GET_NTFS_FILE_RECORD, you have METHOD_BUFFERED (yes, read well ;-)).
So if you want it to work, you HAVE to return the size of the data you wrote to the output buffer...
This makes FSCTL_GET_NTFS_FILE_RECORD finally working in ReactOS...
nfi.exe finally goes a bit farther, displays some files names and dies. Definitely still needs love.
CORE-8725
Modified:
trunk/reactos/drivers/filesystems/ntfs/fsctl.c
Modified: trunk/reactos/drivers/filesystems/ntfs/fsctl.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/f…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/fsctl.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/ntfs/fsctl.c [iso-8859-1] Thu Dec 11 21:58:45 2014
@@ -650,6 +650,8 @@
ExFreePoolWithTag(FileRecord, TAG_NTFS);
+ Irp->IoStatus.Information = FIELD_OFFSET(NTFS_FILE_RECORD_OUTPUT_BUFFER, FileRecordBuffer) + DeviceExt->NtfsInfo.BytesPerFileRecord;
+
return STATUS_SUCCESS;
}
@@ -699,6 +701,8 @@
Stack = IoGetCurrentIrpStackLocation(Irp);
+ Irp->IoStatus.Information = 0;
+
switch (Stack->MinorFunction)
{
case IRP_MN_KERNEL_CALL:
@@ -727,7 +731,6 @@
}
Irp->IoStatus.Status = Status;
- Irp->IoStatus.Information = 0;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
Author: gadamopoulos
Date: Thu Dec 11 21:18:36 2014
New Revision: 65611
URL: http://svn.reactos.org/svn/reactos?rev=65611&view=rev
Log:
[EXPLORER]
* Use LoadLibrary instead of GetModuleHandle in the wrapper of WinList_Init.
* Shdocvw was never loaded till that point so WinList_Init was not called.
* Should fix Opening link location in windows.
Modified:
trunk/reactos/base/shell/explorer/rshell.cpp
Modified: trunk/reactos/base/shell/explorer/rshell.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/rshell…
==============================================================================
--- trunk/reactos/base/shell/explorer/rshell.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/rshell.cpp [iso-8859-1] Thu Dec 11 21:18:36 2014
@@ -135,7 +135,7 @@
}
}
- hFallback = GetModuleHandleW(L"shdocvw.dll");
+ hFallback = LoadLibraryW(L"shdocvw.dll");
if (hFallback)
{