https://git.reactos.org/?p=reactos.git;a=commitdiff;h=302883186785938651184…
commit 302883186785938651184c53912535c3e690cb33
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Tue Nov 27 08:35:49 2018 +0100
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Tue Nov 27 21:36:47 2018 +0100
[TCPIP] Save the date when an ADDRESS_FILE is created
---
drivers/network/tcpip/include/titypes.h | 1 +
drivers/network/tcpip/tcpip/fileobjs.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/network/tcpip/include/titypes.h b/drivers/network/tcpip/include/titypes.h
index 5ca137bf89..e63fad2821 100644
--- a/drivers/network/tcpip/include/titypes.h
+++ b/drivers/network/tcpip/include/titypes.h
@@ -155,6 +155,7 @@ typedef struct _ADDRESS_FILE {
IP_ADDRESS AddrCache; /* One entry address cache (destination
address of last packet transmitted) */
HANDLE ProcessId; /* Creator process ID */
+ LARGE_INTEGER CreationTime; /* Time of creation */
/* The following members are used to control event notification */
diff --git a/drivers/network/tcpip/tcpip/fileobjs.c b/drivers/network/tcpip/tcpip/fileobjs.c
index c637150158..30a3939e2b 100644
--- a/drivers/network/tcpip/tcpip/fileobjs.c
+++ b/drivers/network/tcpip/tcpip/fileobjs.c
@@ -425,6 +425,7 @@ NTSTATUS FileOpenAddress(
AddrFile->BCast = 1;
AddrFile->HeaderIncl = 1;
AddrFile->ProcessId = PsGetCurrentProcessId();
+ KeQuerySystemTime(&AddrFile->CreationTime);
/* Make sure address is a local unicast address or 0 */
/* FIXME: IPv4 only */
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f05d01ec2fe9706f1b7e6…
commit f05d01ec2fe9706f1b7e6ec71efec62cb315372f
Author: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
AuthorDate: Sat Nov 24 19:26:14 2018 +0200
Commit: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
CommitDate: Tue Nov 27 10:33:45 2018 +0200
[FILEBROWSER]
In the struct passed to SHCreateFromDesktop the fourth field is the parameter that later on will be passed to ShowWindow. Initialize it properly so that when we run filrbrowser.exe in win2k3 the main window won't be hidden.
---
base/shell/filebrowser/filebrowser.c | 1 +
sdk/include/reactos/browseui_undoc.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/base/shell/filebrowser/filebrowser.c b/base/shell/filebrowser/filebrowser.c
index f6cace8be4..bf0481a3b7 100644
--- a/base/shell/filebrowser/filebrowser.c
+++ b/base/shell/filebrowser/filebrowser.c
@@ -34,6 +34,7 @@ int _tmain(int argc, _TCHAR* argv[])
if (SHExplorerParseCmdLine(&parseResults))
{
parseResults.dwFlags |= SH_EXPLORER_CMDLINE_FLAG_SEPARATE;
+ parseResults.nCmdShow = SW_SHOWNORMAL;
return SHCreateFromDesktop(&parseResults);
}
diff --git a/sdk/include/reactos/browseui_undoc.h b/sdk/include/reactos/browseui_undoc.h
index 0bc1d12db6..4cd00096c5 100644
--- a/sdk/include/reactos/browseui_undoc.h
+++ b/sdk/include/reactos/browseui_undoc.h
@@ -60,7 +60,7 @@ typedef struct ExplorerCommandLineParseResults
LPWSTR strPath;
LPITEMIDLIST pidlPath;
DWORD dwFlags;
- DWORD offsetC;
+ int nCmdShow;
DWORD offset10;
DWORD offset14;
DWORD offset18;