https://git.reactos.org/?p=reactos.git;a=commitdiff;h=19cabfc763b172165ea87…
commit 19cabfc763b172165ea874f93b7e3cecf7994426
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Oct 27 19:04:31 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Oct 27 19:04:31 2018 +0200
[WKSSVC][IDL] Add names of unsupported functions
---
base/services/wkssvc/rpcserver.c | 84 ++++++++++++++++++++------------------
sdk/include/reactos/idl/wkssvc.idl | 50 ++++++++++++-----------
2 files changed, 70 insertions(+), 64 deletions(-)
diff --git a/base/services/wkssvc/rpcserver.c b/base/services/wkssvc/rpcserver.c
index 422138e32d..27b70e57e3 100644
--- a/base/services/wkssvc/rpcserver.c
+++ b/base/services/wkssvc/rpcserver.c
@@ -247,13 +247,13 @@ NetrUseEnum(
}
-/* Function 12 */
-void
+/* Function 12 - Not used on wire */
+unsigned long
__stdcall
-Opnum12NotUsedOnWire(void)
+NetrMessageBufferSend(void)
{
- UNIMPLEMENTED;
-// return 0;
+ TRACE("NetrMessageBufferSend()\n");
+ return ERROR_NOT_SUPPORTED;
}
@@ -292,63 +292,67 @@ NetrWorkstationStatisticsGet(
}
-/* Function 14 */
-void
+/* Function 14 - Not used on wire */
+unsigned long
__stdcall
-Opnum14NotUsedOnWire(void)
+NetrLogonDomainNameAdd(
+ WKSSVC_IDENTIFY_HANDLE DomainName)
{
- UNIMPLEMENTED;
-// return 0;
+ TRACE("NetrLogonDomainNameAdd(%s)\n",
+ debugstr_w(DomainName));
+ return ERROR_NOT_SUPPORTED;
}
-/* Function 15 */
-void
+/* Function 15 - Not used on wire */
+unsigned long
__stdcall
-Opnum15NotUsedOnWire(void)
+NetrLogonDomainNameDel(
+ WKSSVC_IDENTIFY_HANDLE DomainName)
{
- UNIMPLEMENTED;
-// return 0;
+ TRACE("NetrLogonDomainNameDel(%s)\n",
+ debugstr_w(DomainName));
+ return ERROR_NOT_SUPPORTED;
}
-/* Function 16 */
-void
+/* Function 16 - Not used on wire */
+unsigned long
__stdcall
-Opnum16NotUsedOnWire(void)
+NetrJoinDomain(void)
{
- UNIMPLEMENTED;
-// return 0;
+ TRACE("NetrJoinDomain()\n");
+ return ERROR_NOT_SUPPORTED;
}
-/* Function 17 */
-void
+/* Function 17 - Not used on wire */
+unsigned long
__stdcall
-Opnum17NotUsedOnWire(void)
+NetrUnjoinDomain(void)
{
- UNIMPLEMENTED;
-// return 0;
+ TRACE("NetrUnjoinDomain()\n");
+ return ERROR_NOT_SUPPORTED;
}
-/* Function 18 */
-void
+/* Function 18 - Not used on wire */
+unsigned long
__stdcall
-Opnum18NotUsedOnWire(void)
+NetrValidateName(void)
{
- UNIMPLEMENTED;
-// return 0;
+ TRACE("NetrValidateName()\n");
+ return ERROR_NOT_SUPPORTED;
}
-/* Function 19 */
-void
+/* Function 19 - Not used on wire */
+unsigned long
__stdcall
-Opnum19NotUsedOnWire(void)
+NetrRenameMachineInDomain(void)
{
- UNIMPLEMENTED;
-// return 0;
+ TRACE("NetrRenameMachineInDomain()\n");
+ return ERROR_NOT_SUPPORTED;
}
@@ -369,13 +373,13 @@ NetrGetJoinInformation(
}
-/* Function 21 */
-void
+/* Function 21 - Not used on wire */
+unsigned long
__stdcall
-Opnum21NotUsedOnWire(void)
+NetrGetJoinableOUs(void)
{
- UNIMPLEMENTED;
-// return 0;
+ TRACE("NetrGetJoinableOUs()\n");
+ return ERROR_NOT_SUPPORTED;
}
diff --git a/sdk/include/reactos/idl/wkssvc.idl b/sdk/include/reactos/idl/wkssvc.idl
index fb5d86ce32..af541e463f 100644
--- a/sdk/include/reactos/idl/wkssvc.idl
+++ b/sdk/include/reactos/idl/wkssvc.idl
@@ -465,10 +465,10 @@ interface wkssvc
[out] unsigned long *TotalEntries,
[in, out, unique] unsigned long *ResumeHandle);
- /* Function 12 */
- void
+ /* Function 12 - Not used on wire */
+ unsigned long
__stdcall
- Opnum12NotUsedOnWire(void);
+ NetrMessageBufferSend(void);
/* Function 13 */
unsigned long
@@ -480,35 +480,37 @@ interface wkssvc
[in] unsigned long Options,
[out] LPSTAT_WORKSTATION_0 *Buffer);
- /* Function 14 */
- void
+ /* Function 14 - Not used on wire */
+ unsigned long
__stdcall
- Opnum14NotUsedOnWire(void);
+ NetrLogonDomainNameAdd(
+ [in, string] WKSSVC_IDENTIFY_HANDLE DomainName);
- /* Function 15 */
- void
+ /* Function 15 - Not used on wire */
+ unsigned long
__stdcall
- Opnum15NotUsedOnWire(void);
+ NetrLogonDomainNameDel(
+ [in, string] WKSSVC_IDENTIFY_HANDLE DomainName);
- /* Function 16 */
- void
+ /* Function 16 - Not used on wire */
+ unsigned long
__stdcall
- Opnum16NotUsedOnWire(void);
+ NetrJoinDomain(void);
- /* Function 17 */
- void
+ /* Function 17 - Not used on wire */
+ unsigned long
__stdcall
- Opnum17NotUsedOnWire(void);
+ NetrUnjoinDomain(void);
- /* Function 18 */
- void
+ /* Function 18 - Not used on wire */
+ unsigned long
__stdcall
- Opnum18NotUsedOnWire(void);
+ NetrValidateName(void);
- /* Function 19 */
- void
+ /* Function 19 - Not used on wire */
+ unsigned long
__stdcall
- Opnum19NotUsedOnWire(void);
+ NetrRenameMachineInDomain(void);
/* Function 20 */
unsigned long
@@ -518,10 +520,10 @@ interface wkssvc
[in, out, string] wchar_t **NameBuffer,
[out] PNETSETUP_JOIN_STATUS BufferType);
- /* Function 21 */
- void
+ /* Function 21 - Not used on wire */
+ unsigned long
__stdcall
- Opnum21NotUsedOnWire(void);
+ NetrGetJoinableOUs(void);
/* Function 22 */
unsigned long