diff --git a/build/VStudio/winfsp_sys.vcxproj b/build/VStudio/winfsp_sys.vcxproj
index 5b1a4322..2f04da2c 100644
--- a/build/VStudio/winfsp_sys.vcxproj
+++ b/build/VStudio/winfsp_sys.vcxproj
@@ -101,7 +101,7 @@
- ..\..\src;..\..\inc;%(AdditionalIncludeDirectories)
+ ..\..\src;..\..\opt\fsext\inc;..\..\inc;%(AdditionalIncludeDirectories)
_X86_=1;i386=1;STD_CALL;%(PreprocessorDefinitions)
@@ -114,7 +114,7 @@
- ..\..\src;..\..\inc;%(AdditionalIncludeDirectories)
+ ..\..\src;..\..\opt\fsext\inc;..\..\inc;%(AdditionalIncludeDirectories)
_X86_=1;i386=1;STD_CALL;%(PreprocessorDefinitions)
@@ -127,7 +127,7 @@
- ..\..\src;..\..\inc;%(AdditionalIncludeDirectories)
+ ..\..\src;..\..\opt\fsext\inc;..\..\inc;%(AdditionalIncludeDirectories)
_WIN64;_AMD64_;AMD64;%(PreprocessorDefinitions)
@@ -140,7 +140,7 @@
- ..\..\src;..\..\inc;%(AdditionalIncludeDirectories)
+ ..\..\src;..\..\opt\fsext\inc;..\..\inc;%(AdditionalIncludeDirectories)
_WIN64;_AMD64_;AMD64;%(PreprocessorDefinitions)
@@ -169,6 +169,7 @@
+
@@ -188,6 +189,7 @@
+
diff --git a/build/VStudio/winfsp_sys.vcxproj.filters b/build/VStudio/winfsp_sys.vcxproj.filters
index 3bad7aa5..866dfa01 100644
--- a/build/VStudio/winfsp_sys.vcxproj.filters
+++ b/build/VStudio/winfsp_sys.vcxproj.filters
@@ -104,6 +104,9 @@
Source
+
+ Source
+
@@ -112,6 +115,9 @@
Include\winfsp
+
+ Include\winfsp
+
diff --git a/opt/fsext/inc/winfsp/fsext.h b/opt/fsext/inc/winfsp/fsext.h
index 21bbe62a..2d16a515 100644
--- a/opt/fsext/inc/winfsp/fsext.h
+++ b/opt/fsext/inc/winfsp/fsext.h
@@ -51,7 +51,7 @@ typedef struct
UINT32 DeviceExtensionOffset;
} FSP_FSEXT_PROVIDER;
-FSP_DDI_DEF(NTSTATUS, FspFsextRegisterProvider, FSP_FSEXT_PROVIDER *Provider)
+FSP_DDI_DEF(NTSTATUS, FspFsextProviderRegister, FSP_FSEXT_PROVIDER *Provider)
FSP_DDI_DEF(NTSTATUS, FspPosixMapSidToUid, PSID Sid, PUINT32 PUid)
FSP_DDI_DEF(NTSTATUS, FspPosixMapWindowsToPosixPathEx, PWSTR WindowsPath, char **PPosixPath,
diff --git a/opt/fsext/lib/winfsp-x64.lib b/opt/fsext/lib/winfsp-x64.lib
index dfc37e8b..a471199d 100644
Binary files a/opt/fsext/lib/winfsp-x64.lib and b/opt/fsext/lib/winfsp-x64.lib differ
diff --git a/opt/fsext/lib/winfsp-x86.lib b/opt/fsext/lib/winfsp-x86.lib
index 9e47ca09..5d206559 100644
Binary files a/opt/fsext/lib/winfsp-x86.lib and b/opt/fsext/lib/winfsp-x86.lib differ
diff --git a/src/sys/fsext.c b/src/sys/fsext.c
new file mode 100644
index 00000000..58459c1e
--- /dev/null
+++ b/src/sys/fsext.c
@@ -0,0 +1,28 @@
+/**
+ * @file sys/fsext.c
+ *
+ * @copyright 2015-2019 Bill Zissimopoulos
+ */
+/*
+ * This file is part of WinFsp.
+ *
+ * You can redistribute it and/or modify it under the terms of the GNU
+ * General Public License version 3 as published by the Free Software
+ * Foundation.
+ *
+ * Licensees holding a valid commercial license may use this software
+ * in accordance with the commercial license agreement provided in
+ * conjunction with the software. The terms and conditions of any such
+ * commercial license agreement shall govern, supersede, and render
+ * ineffective any application of the GPLv3 license to this software,
+ * notwithstanding of any reference thereto in the software or
+ * associated repository.
+ */
+
+#include
+#include
+
+NTSTATUS FspFsextProviderRegister(FSP_FSEXT_PROVIDER *Provider)
+{
+ return STATUS_TOO_LATE;
+}