Author: cwittich
Date: Mon Mar 16 11:08:03 2009
New Revision: 40053
URL:
http://svn.reactos.org/svn/reactos?rev=40053&view=rev
Log:
stub wlan rpcserver
Added:
trunk/reactos/base/services/wlansvc/rpcserver.c (with props)
Modified:
trunk/reactos/base/services/wlansvc/wlansvc.rbuild
Added: trunk/reactos/base/services/wlansvc/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/wlansvc/rpcs…
==============================================================================
--- trunk/reactos/base/services/wlansvc/rpcserver.c (added)
+++ trunk/reactos/base/services/wlansvc/rpcserver.c [iso-8859-1] Mon Mar 16 11:08:03 2009
@@ -1,0 +1,467 @@
+/*
+ * PROJECT: ReactOS WLAN Service
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: base/services/wlansvc/rpcserver.c
+ * PURPOSE: RPC server interface
+ * COPYRIGHT: Copyright 2009 Christoph von Wittich
+ */
+
+/* INCLUDES ****************************************************************/
+#include <windows.h>
+#include "wlansvc_s.h"
+
+#define NDEBUG
+#include <debug.h>
+
+
+DWORD _RpcOpenHandle(
+ wchar_t *arg_1,
+ DWORD dwClientVersion,
+ DWORD *pdwNegotiatedVersion,
+ LPWLANSVC_RPC_HANDLE phClientHandle)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcCloseHandle(
+ LPWLANSVC_RPC_HANDLE phClientHandle)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcEnumInterfaces(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ PWLAN_INTERFACE_INFO_LIST *ppInterfaceList)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetAutoConfigParameter(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ long OpCode,
+ DWORD dwDataSize,
+ LPBYTE pData)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcQueryAutoConfigParameter(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ DWORD OpCode,
+ LPDWORD pdwDataSize,
+ char **ppData,
+ DWORD *pWlanOpcodeValueType)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcGetInterfaceCapability(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ PWLAN_INTERFACE_CAPABILITY *ppCapability)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetInterface(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ DWORD OpCode,
+ DWORD dwDataSize,
+ LPBYTE pData)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcQueryInterface(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ long OpCode,
+ LPDWORD pdwDataSize,
+ LPBYTE *ppData,
+ LPDWORD pWlanOpcodeValueType)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcIhvControl(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ DWORD Type,
+ DWORD dwInBufferSize,
+ LPBYTE pInBuffer,
+ DWORD dwOutBufferSize,
+ LPBYTE pOutBuffer,
+ LPDWORD pdwBytesReturned)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcScan(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ PDOT11_SSID pDot11Ssid,
+ PWLAN_RAW_DATA pIeData)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcGetAvailableNetworkList(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ DWORD dwFlags,
+ WLAN_AVAILABLE_NETWORK_LIST **ppAvailableNetworkList)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcGetNetworkBssList(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ PDOT11_SSID pDot11Ssid,
+ short dot11BssType,
+ DWORD bSecurityEnabled,
+ LPDWORD dwBssListSize,
+ LPBYTE *ppWlanBssList)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcConnect(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ PWLAN_CONNECTION_PARAMETERS *pConnectionParameters)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcDisconnect(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGUID)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcRegisterNotification(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ DWORD arg_2,
+ LPDWORD pdwPrevNotifSource)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcAsyncGetNotification(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ PWLAN_NOTIFICATION_DATA *NotificationData)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+
+DWORD _RpcSetProfileEapUserData(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ wchar_t *strProfileName,
+ EAP_METHOD_TYPE MethodType,
+ DWORD dwFlags,
+ DWORD dwEapUserDataSize,
+ LPBYTE pbEapUserData)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetProfile(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ DWORD dwFlags,
+ wchar_t *strProfileXml,
+ wchar_t *strAllUserProfileSecurity,
+ BOOL bOverwrite,
+ LPDWORD pdwReasonCode)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcGetProfile(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ wchar_t *strProfileName,
+ wchar_t **pstrProfileXml,
+ LPDWORD pdwFlags,
+ LPDWORD pdwGrantedAccess)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcDeleteProfile(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ wchar_t *strProfileName)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcRenameProfile(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ wchar_t *strOldProfileName,
+ wchar_t *strNewProfileName)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetProfileList(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ DWORD dwItems,
+ BYTE **strProfileNames)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcGetProfileList(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ PWLAN_PROFILE_INFO_LIST *ppProfileList)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetProfilePosition(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ wchar_t *strProfileName,
+ DWORD dwPosition)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetProfileCustomUserData(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ wchar_t *strProfileName,
+ DWORD dwDataSize,
+ LPBYTE pData)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcGetProfileCustomUserData(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ wchar_t *strProfileName,
+ LPDWORD dwDataSize,
+ LPBYTE *pData)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetFilterList(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ short wlanFilterListType,
+ PDOT11_NETWORK_LIST pNetworkList)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcGetFilterList(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ short wlanFilterListType,
+ PDOT11_NETWORK_LIST *pNetworkList)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetPsdIEDataList(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ wchar_t *strFormat,
+ DWORD dwDataListSize,
+ LPBYTE pPsdIEDataList)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSaveTemporaryProfile(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ GUID *pInterfaceGuid,
+ wchar_t *strProfileName,
+ wchar_t *strAllUserProfileSecurity,
+ DWORD dwFlags,
+ BOOL bOverWrite)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcIsUIRequestPending(
+ wchar_t *arg_1,
+ GUID *pInterfaceGuid,
+ struct_C *arg_3,
+ LPDWORD arg_4)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetUIForwardingNetworkList(
+ wchar_t *arg_1,
+ GUID *arg_2,
+ DWORD dwSize,
+ GUID *arg_4)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcIsNetworkSuppressed(
+ wchar_t *arg_1,
+ DWORD arg_2,
+ GUID *pInterfaceGuid,
+ LPDWORD arg_4)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcRemoveUIForwardingNetworkList(
+ wchar_t *arg_1,
+ GUID *pInterfaceGuid)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcQueryExtUIRequest(
+ wchar_t *arg_1,
+ GUID *arg_2,
+ GUID *arg_3,
+ short arg_4,
+ GUID *pInterfaceGuid,
+ struct_C **arg_6)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcUIResponse(
+ wchar_t *arg_1,
+ struct_C *arg_2,
+ struct_D *arg_3)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcGetProfileKeyInfo(
+ wchar_t *arg_1,
+ DWORD arg_2,
+ GUID *pInterfaceGuid,
+ wchar_t *arg_4,
+ DWORD arg_5,
+ LPDWORD arg_6,
+ char *arg_7,
+ LPDWORD arg_8)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcAsyncDoPlap(
+ wchar_t *arg_1,
+ GUID *pInterfaceGuid,
+ wchar_t *arg_3,
+ DWORD dwSize,
+ struct_E arg_5[])
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcQueryPlapCredentials(
+ wchar_t *arg_1,
+ LPDWORD dwSize,
+ struct_E **arg_3,
+ wchar_t **arg_4,
+ GUID *pInterfaceGuid,
+ LPDWORD arg_6,
+ LPDWORD arg_7,
+ LPDWORD arg_8,
+ LPDWORD arg_9)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcCancelPlap(
+ wchar_t *arg_1,
+ GUID *pInterfaceGuid)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcSetSecuritySettings(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ WLAN_SECURABLE_OBJECT SecurableObject,
+ wchar_t *strModifiedSDDL)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+DWORD _RpcGetSecuritySettings(
+ WLANSVC_RPC_HANDLE hClientHandle,
+ WLAN_SECURABLE_OBJECT SecurableObject,
+ WLAN_OPCODE_VALUE_TYPE *pValueType,
+ wchar_t **pstrCurrentSDDL,
+ LPDWORD pdwGrantedAccess)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+void __RPC_FAR * __RPC_USER midl_user_allocate(size_t len)
+{
+ return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, len);
+}
+
+
+void __RPC_USER midl_user_free(void __RPC_FAR * ptr)
+{
+ HeapFree(GetProcessHeap(), 0, ptr);
+}
+
+
+void __RPC_USER WLANSVC_RPC_HANDLE_rundown(WLANSVC_RPC_HANDLE hClientHandle)
+{
+}
+
Propchange: trunk/reactos/base/services/wlansvc/rpcserver.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/base/services/wlansvc/wlansvc.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/wlansvc/wlan…
==============================================================================
--- trunk/reactos/base/services/wlansvc/wlansvc.rbuild [iso-8859-1] (original)
+++ trunk/reactos/base/services/wlansvc/wlansvc.rbuild [iso-8859-1] Mon Mar 16 11:08:03
2009
@@ -2,8 +2,13 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="wlansvc" type="win32cui"
installbase="system32" installname="wlansvc.exe"
unicode="yes">
<include base="wlansvc">.</include>
+ <include base="wlansvc_server">.</include>
+ <library>wlansvc_server</library>
<library>ntdll</library>
<library>kernel32</library>
<library>advapi32</library>
+ <library>rpcrt4</library>
+ <library>pseh</library>
<file>wlansvc.c</file>
+ <file>rpcserver.c</file>
</module>