https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a06184a9a49fb42364aa288a9867b30372c59f4d

commit a06184a9a49fb42364aa288a9867b30372c59f4d
Author:     Pierre Schweitzer <[email protected]>
AuthorDate: Fri Sep 14 08:15:08 2018 +0200
Commit:     Pierre Schweitzer <[email protected]>
CommitDate: Fri Sep 14 08:15:08 2018 +0200

    [WINLOGON] Fix build
    Add a specific internal header for MPR and include it in WinLogon.
    
    CORE-15012
---
 base/system/winlogon/winlogon.h | 1 +
 sdk/include/reactos/undocmpr.h  | 7 +++++++
 sdk/include/reactos/undocuser.h | 3 ---
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/base/system/winlogon/winlogon.h b/base/system/winlogon/winlogon.h
index f1467c9c5c..5d81937428 100644
--- a/base/system/winlogon/winlogon.h
+++ b/base/system/winlogon/winlogon.h
@@ -42,6 +42,7 @@
 #include <strsafe.h>
 
 #include <reactos/undocuser.h>
+#include <reactos/undocmpr.h>
 
 BOOL
 WINAPI
diff --git a/sdk/include/reactos/undocmpr.h b/sdk/include/reactos/undocmpr.h
new file mode 100644
index 0000000000..675dde0caa
--- /dev/null
+++ b/sdk/include/reactos/undocmpr.h
@@ -0,0 +1,7 @@
+#ifndef _UNDOCMPR_H
+#define _UNDOCMPR_H
+
+/* WNET undocumented functions */
+DWORD WINAPI WNetClearConnections(HANDLE owner);
+
+#endif
diff --git a/sdk/include/reactos/undocuser.h b/sdk/include/reactos/undocuser.h
index aadeb667b9..5e2074a217 100644
--- a/sdk/include/reactos/undocuser.h
+++ b/sdk/include/reactos/undocuser.h
@@ -378,9 +378,6 @@ BOOL WINAPI RegisterUserApiHook(PUSERAPIHOOKINFO puah);
 
 BOOL WINAPI UnregisterUserApiHook(VOID);
 
-/* WNET undocumented functions */
-DWORD WINAPI WNetClearConnections(DWORD dwUnknown);
-
 #ifdef __cplusplus
 } /* extern "C" */
 #endif /* defined(__cplusplus) */

Reply via email to