mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[WLANAPI]
stub some WlanProfile functions fix some declarations svn path=/trunk/; revision=66541
This commit is contained in:
parent
fcdfd8831e
commit
2102bfa1f0
|
@ -120,7 +120,7 @@ DWORD _RpcQueryAutoConfigParameter(
|
|||
|
||||
DWORD _RpcGetInterfaceCapability(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
PWLAN_INTERFACE_CAPABILITY *ppCapability)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -129,7 +129,7 @@ DWORD _RpcGetInterfaceCapability(
|
|||
|
||||
DWORD _RpcSetInterface(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
DWORD OpCode,
|
||||
DWORD dwDataSize,
|
||||
LPBYTE pData)
|
||||
|
@ -140,7 +140,7 @@ DWORD _RpcSetInterface(
|
|||
|
||||
DWORD _RpcQueryInterface(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
long OpCode,
|
||||
LPDWORD pdwDataSize,
|
||||
LPBYTE *ppData,
|
||||
|
@ -152,7 +152,7 @@ DWORD _RpcQueryInterface(
|
|||
|
||||
DWORD _RpcIhvControl(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
DWORD Type,
|
||||
DWORD dwInBufferSize,
|
||||
LPBYTE pInBuffer,
|
||||
|
@ -166,7 +166,7 @@ DWORD _RpcIhvControl(
|
|||
|
||||
DWORD _RpcScan(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
PDOT11_SSID pDot11Ssid,
|
||||
PWLAN_RAW_DATA pIeData)
|
||||
{
|
||||
|
@ -191,7 +191,7 @@ DWORD _RpcScan(
|
|||
|
||||
DWORD _RpcGetAvailableNetworkList(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
DWORD dwFlags,
|
||||
WLAN_AVAILABLE_NETWORK_LIST **ppAvailableNetworkList)
|
||||
{
|
||||
|
@ -201,7 +201,7 @@ DWORD _RpcGetAvailableNetworkList(
|
|||
|
||||
DWORD _RpcGetNetworkBssList(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
PDOT11_SSID pDot11Ssid,
|
||||
short dot11BssType,
|
||||
DWORD bSecurityEnabled,
|
||||
|
@ -214,8 +214,8 @@ DWORD _RpcGetNetworkBssList(
|
|||
|
||||
DWORD _RpcConnect(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
PWLAN_CONNECTION_PARAMETERS *pConnectionParameters)
|
||||
const GUID *pInterfaceGuid,
|
||||
const PWLAN_CONNECTION_PARAMETERS *pConnectionParameters)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
|
@ -223,7 +223,7 @@ DWORD _RpcConnect(
|
|||
|
||||
DWORD _RpcDisconnect(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGUID)
|
||||
const GUID *pInterfaceGUID)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
|
@ -248,7 +248,7 @@ DWORD _RpcAsyncGetNotification(
|
|||
|
||||
DWORD _RpcSetProfileEapUserData(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *strProfileName,
|
||||
EAP_METHOD_TYPE MethodType,
|
||||
DWORD dwFlags,
|
||||
|
@ -261,7 +261,7 @@ DWORD _RpcSetProfileEapUserData(
|
|||
|
||||
DWORD _RpcSetProfile(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
DWORD dwFlags,
|
||||
wchar_t *strProfileXml,
|
||||
wchar_t *strAllUserProfileSecurity,
|
||||
|
@ -274,7 +274,7 @@ DWORD _RpcSetProfile(
|
|||
|
||||
DWORD _RpcGetProfile(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *strProfileName,
|
||||
wchar_t **pstrProfileXml,
|
||||
LPDWORD pdwFlags,
|
||||
|
@ -286,7 +286,7 @@ DWORD _RpcGetProfile(
|
|||
|
||||
DWORD _RpcDeleteProfile(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *strProfileName)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -295,7 +295,7 @@ DWORD _RpcDeleteProfile(
|
|||
|
||||
DWORD _RpcRenameProfile(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *strOldProfileName,
|
||||
wchar_t *strNewProfileName)
|
||||
{
|
||||
|
@ -305,7 +305,7 @@ DWORD _RpcRenameProfile(
|
|||
|
||||
DWORD _RpcSetProfileList(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
DWORD dwItems,
|
||||
BYTE **strProfileNames)
|
||||
{
|
||||
|
@ -315,7 +315,7 @@ DWORD _RpcSetProfileList(
|
|||
|
||||
DWORD _RpcGetProfileList(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
PWLAN_PROFILE_INFO_LIST *ppProfileList)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -324,7 +324,7 @@ DWORD _RpcGetProfileList(
|
|||
|
||||
DWORD _RpcSetProfilePosition(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *strProfileName,
|
||||
DWORD dwPosition)
|
||||
{
|
||||
|
@ -334,7 +334,7 @@ DWORD _RpcSetProfilePosition(
|
|||
|
||||
DWORD _RpcSetProfileCustomUserData(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *strProfileName,
|
||||
DWORD dwDataSize,
|
||||
LPBYTE pData)
|
||||
|
@ -345,7 +345,7 @@ DWORD _RpcSetProfileCustomUserData(
|
|||
|
||||
DWORD _RpcGetProfileCustomUserData(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *strProfileName,
|
||||
LPDWORD dwDataSize,
|
||||
LPBYTE *pData)
|
||||
|
@ -384,7 +384,7 @@ DWORD _RpcSetPsdIEDataList(
|
|||
|
||||
DWORD _RpcSaveTemporaryProfile(
|
||||
WLANSVC_RPC_HANDLE hClientHandle,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *strProfileName,
|
||||
wchar_t *strAllUserProfileSecurity,
|
||||
DWORD dwFlags,
|
||||
|
@ -396,7 +396,7 @@ DWORD _RpcSaveTemporaryProfile(
|
|||
|
||||
DWORD _RpcIsUIRequestPending(
|
||||
wchar_t *arg_1,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
struct_C *arg_3,
|
||||
LPDWORD arg_4)
|
||||
{
|
||||
|
@ -417,7 +417,7 @@ DWORD _RpcSetUIForwardingNetworkList(
|
|||
DWORD _RpcIsNetworkSuppressed(
|
||||
wchar_t *arg_1,
|
||||
DWORD arg_2,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
LPDWORD arg_4)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
@ -426,7 +426,7 @@ DWORD _RpcIsNetworkSuppressed(
|
|||
|
||||
DWORD _RpcRemoveUIForwardingNetworkList(
|
||||
wchar_t *arg_1,
|
||||
GUID *pInterfaceGuid)
|
||||
const GUID *pInterfaceGuid)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
|
@ -456,7 +456,7 @@ DWORD _RpcUIResponse(
|
|||
DWORD _RpcGetProfileKeyInfo(
|
||||
wchar_t *arg_1,
|
||||
DWORD arg_2,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *arg_4,
|
||||
DWORD arg_5,
|
||||
LPDWORD arg_6,
|
||||
|
@ -469,7 +469,7 @@ DWORD _RpcGetProfileKeyInfo(
|
|||
|
||||
DWORD _RpcAsyncDoPlap(
|
||||
wchar_t *arg_1,
|
||||
GUID *pInterfaceGuid,
|
||||
const GUID *pInterfaceGuid,
|
||||
wchar_t *arg_3,
|
||||
DWORD dwSize,
|
||||
struct_E arg_5[])
|
||||
|
@ -495,7 +495,7 @@ DWORD _RpcQueryPlapCredentials(
|
|||
|
||||
DWORD _RpcCancelPlap(
|
||||
wchar_t *arg_1,
|
||||
GUID *pInterfaceGuid)
|
||||
const GUID *pInterfaceGuid)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
|
|
|
@ -5,6 +5,7 @@ spec2def(wlanapi.dll wlanapi.spec ADD_IMPORTLIB)
|
|||
|
||||
list(APPEND SOURCE
|
||||
main.c
|
||||
profile.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/wlanapi_stubs.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/wlanapi.def
|
||||
${CMAKE_CURRENT_BINARY_DIR}/wlansvc_c.c)
|
||||
|
|
|
@ -99,6 +99,55 @@ WlanFreeMemory(IN PVOID pMem)
|
|||
HeapFree(GetProcessHeap(), 0, pMem);
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanConnect(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN const PWLAN_CONNECTION_PARAMETERS pConnectionParameters,
|
||||
PVOID pReserved)
|
||||
{
|
||||
DWORD dwError = ERROR_SUCCESS;
|
||||
|
||||
if ((pReserved != NULL) || (hClientHandle == NULL))
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
RpcTryExcept
|
||||
{
|
||||
_RpcConnect(hClientHandle, pInterfaceGuid, &pConnectionParameters);
|
||||
}
|
||||
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
dwError = RpcExceptionCode();
|
||||
}
|
||||
RpcEndExcept;
|
||||
|
||||
return dwError;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanDisconnect(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
PVOID pReserved)
|
||||
{
|
||||
DWORD dwError = ERROR_SUCCESS;
|
||||
|
||||
if ((pReserved != NULL) || (hClientHandle == NULL))
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
RpcTryExcept
|
||||
{
|
||||
_RpcDisconnect(hClientHandle, pInterfaceGuid);
|
||||
}
|
||||
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
dwError = RpcExceptionCode();
|
||||
}
|
||||
RpcEndExcept;
|
||||
|
||||
return dwError;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanOpenHandle(IN DWORD dwClientVersion,
|
||||
|
@ -178,7 +227,7 @@ WlanEnumInterfaces(IN HANDLE hClientHandle,
|
|||
DWORD
|
||||
WINAPI
|
||||
WlanScan(IN HANDLE hClientHandle,
|
||||
IN GUID *pInterfaceGuid,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN PDOT11_SSID pDot11Ssid,
|
||||
IN PWLAN_RAW_DATA pIeData,
|
||||
PVOID pReserved)
|
||||
|
|
134
reactos/dll/win32/wlanapi/profile.c
Normal file
134
reactos/dll/win32/wlanapi/profile.c
Normal file
|
@ -0,0 +1,134 @@
|
|||
/*
|
||||
* Wireless LAN API (wlanapi.dll)
|
||||
*
|
||||
* Copyright 2009 Christoph von Wittich (Christoph@ApiViewer.de)
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
|
||||
/* INCLUDES ****************************************************************/
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <wlansvc_c.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wlanapi);
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanDeleteProfile(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN LPCWSTR strProfileName,
|
||||
PVOID pReserved)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanRenameProfile(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN LPCWSTR strOldProfileName,
|
||||
IN LPCWSTR strNewProfileName,
|
||||
PVOID pReserved)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanGetProfile(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN LPCWSTR strProfileName,
|
||||
PVOID pReserved,
|
||||
OUT LPWSTR *pstrProfileXml,
|
||||
DWORD *pdwFlags,
|
||||
PDWORD pdwGrantedAccess)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanSetProfile(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN DWORD dwFlags,
|
||||
IN LPCWSTR strProfileXml,
|
||||
LPCWSTR strAllUserProfileSecurity,
|
||||
IN BOOL bOverwrite,
|
||||
PVOID pReserved,
|
||||
OUT DWORD *pdwReasonCode)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanGetProfileCustomUserData(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN LPCWSTR strProfileName,
|
||||
PVOID pReserved,
|
||||
OUT DWORD *pdwDataSize,
|
||||
OUT PBYTE *ppData)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanSetProfileCustomUserData(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN LPCWSTR strProfileName,
|
||||
IN DWORD dwDataSize,
|
||||
IN const PBYTE pData,
|
||||
PVOID pReserved)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanGetProfileList(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
PVOID pReserved,
|
||||
OUT PWLAN_PROFILE_INFO_LIST *ppProfileList)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanSetProfileList(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
DWORD dwItems,
|
||||
IN LPCWSTR *strProfileNames,
|
||||
PVOID pReserved)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
@ stdcall WlanAllocateMemory (long)
|
||||
@ stdcall WlanCloseHandle (ptr ptr)
|
||||
@ stub WlanConnect
|
||||
@ stub WlanDeleteProfile
|
||||
@ stub WlanDisconnect
|
||||
@ stdcall WlanConnect (ptr ptr ptr ptr)
|
||||
@ stdcall WlanDeleteProfile (ptr ptr ptr ptr)
|
||||
@ stdcall WlanDisconnect (ptr ptr ptr)
|
||||
@ stdcall WlanEnumInterfaces (ptr ptr ptr)
|
||||
@ stub WlanExtractPsdIEDataList
|
||||
@ stdcall WlanFreeMemory (ptr)
|
||||
|
@ -10,9 +10,9 @@
|
|||
@ stub WlanGetFilterList
|
||||
@ stub WlanGetInterfaceCapability
|
||||
@ stub WlanGetNetworkBssList
|
||||
@ stub WlanGetProfile
|
||||
@ stub WlanGetProfileCustomUserData
|
||||
@ stub WlanGetProfileList
|
||||
@ stdcall WlanGetProfile (ptr ptr ptr ptr ptr long ptr)
|
||||
@ stdcall WlanGetProfileCustomUserData (ptr ptr ptr ptr ptr ptr)
|
||||
@ stdcall WlanGetProfileList (ptr ptr ptr ptr)
|
||||
@ stub WlanGetSecuritySettings
|
||||
@ stub WlanIhvControl
|
||||
@ stdcall WlanOpenHandle (long ptr ptr ptr)
|
||||
|
@ -20,17 +20,17 @@
|
|||
@ stub WlanQueryInterface
|
||||
@ stub WlanReasonCodeToString
|
||||
@ stub WlanRegisterNotification
|
||||
@ stub WlanRenameProfile
|
||||
@ stdcall WlanRenameProfile (ptr ptr ptr ptr ptr)
|
||||
@ stub WlanSaveTemporaryProfile
|
||||
@ stdcall WlanScan (ptr ptr ptr ptr ptr)
|
||||
@ stub WlanSetAutoConfigParameter
|
||||
@ stub WlanSetFilterList
|
||||
@ stub WlanSetInterface
|
||||
@ stub WlanSetProfile
|
||||
@ stub WlanSetProfileCustomUserData
|
||||
@ stdcall WlanSetProfile (ptr ptr long ptr ptr long ptr ptr)
|
||||
@ stdcall WlanSetProfileCustomUserData (ptr ptr ptr long ptr ptr)
|
||||
@ stub WlanSetProfileEapUserData
|
||||
@ stub WlanSetProfileEapXmlUserData
|
||||
@ stub WlanSetProfileList
|
||||
@ stdcall WlanSetProfileList (ptr ptr long ptr ptr)
|
||||
@ stub WlanSetProfilePosition
|
||||
@ stub WlanSetPsdIEDataList
|
||||
@ stub WlanSetSecuritySettings
|
||||
|
|
|
@ -190,8 +190,19 @@ PVOID WINAPI WlanAllocateMemory(DWORD dwSize);
|
|||
VOID WINAPI WlanFreeMemory(PVOID pMemory);
|
||||
DWORD WINAPI WlanOpenHandle(IN DWORD dwClientVersion, PVOID pReserved, OUT DWORD *pdwNegotiatedVersion, OUT HANDLE *phClientHandle);
|
||||
DWORD WINAPI WlanCloseHandle(IN HANDLE hClientHandle, PVOID pReserved);
|
||||
DWORD WINAPI WlanConnect(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN const PWLAN_CONNECTION_PARAMETERS pConnectionParameters, PVOID pReserved);
|
||||
DWORD WINAPI WlanDisconnect(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, PVOID pReserved);
|
||||
DWORD WINAPI WlanEnumInterfaces(IN HANDLE hClientHandle, PVOID pReserved, OUT PWLAN_INTERFACE_INFO_LIST *ppInterfaceList);
|
||||
DWORD WINAPI WlanScan(IN HANDLE hClientHandle, IN GUID *pInterfaceGuid, IN PDOT11_SSID pDot11Ssid, IN PWLAN_RAW_DATA pIeData, PVOID pReserved);
|
||||
DWORD WINAPI WlanScan(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN PDOT11_SSID pDot11Ssid, IN PWLAN_RAW_DATA pIeData, PVOID pReserved);
|
||||
DWORD WINAPI WlanDeleteProfile(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strProfileName, PVOID pReserved);
|
||||
DWORD WINAPI WlanGetProfile(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strProfileName, PVOID pReserved, OUT LPWSTR *pstrProfileXml, DWORD *pdwFlags, PDWORD pdwGrantedAccess);
|
||||
DWORD WINAPI WlanGetProfileCustomUserData(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strProfileName, PVOID pReserved, OUT DWORD *pdwDataSize, OUT PBYTE *ppData);
|
||||
DWORD WINAPI WlanGetProfileList(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, PVOID pReserved, OUT PWLAN_PROFILE_INFO_LIST *ppProfileList);
|
||||
DWORD WINAPI WlanSetProfile(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN DWORD dwFlags, IN LPCWSTR strProfileXml, LPCWSTR strAllUserProfileSecurity, IN BOOL bOverwrite, PVOID pReserved, OUT DWORD *pdwReasonCode);
|
||||
DWORD WINAPI WlanSetProfileCustomUserData(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strProfileName, IN DWORD dwDataSize, IN const PBYTE pData, PVOID pReserved);
|
||||
DWORD WINAPI WlanSetProfileEapUserData(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strProfileName, IN EAP_METHOD_TYPE eapType, IN DWORD dwFlags, IN DWORD dwEapUserDataSize, IN const LPBYTE pbEapUserData, PVOID pReserved);
|
||||
DWORD WINAPI WlanSetProfileList(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, DWORD dwItems, IN LPCWSTR *strProfileNames, PVOID pReserved);
|
||||
DWORD WINAPI WlanRenameProfile(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strOldProfileName, IN LPCWSTR strNewProfileName, PVOID pReserved);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -79,13 +79,13 @@ interface wlansvc_interface
|
|||
/* Function: 0x05 */
|
||||
DWORD _RpcGetInterfaceCapability(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[out, ref] PWLAN_INTERFACE_CAPABILITY *ppCapability);
|
||||
|
||||
/* Function: 0x06 */
|
||||
DWORD _RpcSetInterface(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in] /* enum32 */ DWORD OpCode,
|
||||
[in] DWORD dwDataSize,
|
||||
[in, size_is(dwDataSize)] LPBYTE pData);
|
||||
|
@ -93,7 +93,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x07 */
|
||||
DWORD _RpcQueryInterface(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in] /* enum32 */ long OpCode,
|
||||
[in, out] LPDWORD pdwDataSize,
|
||||
[out][ref][size_is(*pdwDataSize)] LPBYTE* ppData,
|
||||
|
@ -102,7 +102,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x08 */
|
||||
DWORD _RpcIhvControl(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in] /* enum32 */ DWORD Type,
|
||||
[in] DWORD dwInBufferSize,
|
||||
[in][size_is(dwInBufferSize)] LPBYTE pInBuffer,
|
||||
|
@ -113,21 +113,21 @@ interface wlansvc_interface
|
|||
/* Function: 0x09 */
|
||||
DWORD _RpcScan(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][unique] PDOT11_SSID pDot11Ssid,
|
||||
[in][unique] PWLAN_RAW_DATA pIeData);
|
||||
|
||||
/* Function: 0x0A */
|
||||
DWORD _RpcGetAvailableNetworkList(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in] DWORD dwFlags,
|
||||
[out][ref] WLAN_AVAILABLE_NETWORK_LIST **ppAvailableNetworkList);
|
||||
|
||||
/* Function: 0x0B */
|
||||
DWORD _RpcGetNetworkBssList(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][unique] PDOT11_SSID pDot11Ssid,
|
||||
[in] /* enum16 */ short dot11BssType,
|
||||
[in] DWORD bSecurityEnabled,
|
||||
|
@ -137,13 +137,13 @@ interface wlansvc_interface
|
|||
/* Function: 0x0C */
|
||||
DWORD _RpcConnect(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] PWLAN_CONNECTION_PARAMETERS* pConnectionParameters);
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in] const PWLAN_CONNECTION_PARAMETERS* pConnectionParameters);
|
||||
|
||||
/* Function: 0x0D */
|
||||
DWORD _RpcDisconnect(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGUID);
|
||||
[in] const GUID* pInterfaceGUID);
|
||||
|
||||
/* Function: 0x0E */
|
||||
DWORD _RpcRegisterNotification(
|
||||
|
@ -159,7 +159,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x10 */
|
||||
DWORD _RpcSetProfileEapUserData(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * strProfileName,
|
||||
[in] EAP_METHOD_TYPE MethodType,
|
||||
[in] DWORD dwFlags,
|
||||
|
@ -169,7 +169,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x11 */
|
||||
DWORD _RpcSetProfile(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in] DWORD dwFlags,
|
||||
[in][string] wchar_t * strProfileXml,
|
||||
[in][unique][string] wchar_t * strAllUserProfileSecurity,
|
||||
|
@ -179,7 +179,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x12 */
|
||||
DWORD _RpcGetProfile(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * strProfileName,
|
||||
[out][ref][string] wchar_t ** pstrProfileXml,
|
||||
[out] LPDWORD pdwFlags,
|
||||
|
@ -188,40 +188,40 @@ interface wlansvc_interface
|
|||
/* Function: 0x13 */
|
||||
DWORD _RpcDeleteProfile(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * strProfileName);
|
||||
|
||||
/* Function: 0x14 */
|
||||
DWORD _RpcRenameProfile(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * strOldProfileName,
|
||||
[in][string] wchar_t * strNewProfileName);
|
||||
|
||||
/* Function: 0x15 */
|
||||
DWORD _RpcSetProfileList(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in] DWORD dwItems,
|
||||
[in] /* [string] */ [size_is(dwItems)] /* wchar_t */ BYTE ** strProfileNames); /* FIXME */
|
||||
|
||||
/* Function: 0x16 */
|
||||
DWORD _RpcGetProfileList(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[out][ref] PWLAN_PROFILE_INFO_LIST *ppProfileList);
|
||||
|
||||
/* Function: 0x17 */
|
||||
DWORD _RpcSetProfilePosition(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * strProfileName,
|
||||
[in] DWORD dwPosition);
|
||||
|
||||
/* Function: 0x18 */
|
||||
DWORD _RpcSetProfileCustomUserData(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * strProfileName,
|
||||
[in] DWORD dwDataSize,
|
||||
[in][unique][size_is(dwDataSize)] LPBYTE pData);
|
||||
|
@ -229,7 +229,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x19 */
|
||||
DWORD _RpcGetProfileCustomUserData(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * strProfileName,
|
||||
[in, out] LPDWORD dwDataSize,
|
||||
[out][ref][size_is(*dwDataSize)] LPBYTE *pData);
|
||||
|
@ -256,7 +256,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x1D */
|
||||
DWORD _RpcSaveTemporaryProfile(
|
||||
[in] WLANSVC_RPC_HANDLE hClientHandle,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * strProfileName,
|
||||
[in][unique][string] wchar_t * strAllUserProfileSecurity,
|
||||
[in] DWORD dwFlags,
|
||||
|
@ -265,7 +265,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x1E, address: 0x2C992E36 */
|
||||
DWORD _RpcIsUIRequestPending(
|
||||
[in] wchar_t * arg_1,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in] struct_C * arg_3,
|
||||
[out] LPDWORD arg_4);
|
||||
|
||||
|
@ -280,13 +280,13 @@ interface wlansvc_interface
|
|||
DWORD _RpcIsNetworkSuppressed(
|
||||
[in] wchar_t * arg_1,
|
||||
[in] DWORD arg_2,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[out] LPDWORD arg_4);
|
||||
|
||||
/* Function: 0x21 */
|
||||
DWORD _RpcRemoveUIForwardingNetworkList(
|
||||
[in] wchar_t * arg_1,
|
||||
[in] GUID* pInterfaceGuid);
|
||||
[in] const GUID* pInterfaceGuid);
|
||||
|
||||
/* Function: 0x22 */
|
||||
DWORD _RpcQueryExtUIRequest(
|
||||
|
@ -307,7 +307,7 @@ interface wlansvc_interface
|
|||
DWORD _RpcGetProfileKeyInfo(
|
||||
[in] wchar_t * arg_1,
|
||||
[in] DWORD arg_2,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * arg_4,
|
||||
[in] DWORD arg_5,
|
||||
[out] LPDWORD arg_6,
|
||||
|
@ -317,7 +317,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x25 */
|
||||
DWORD _RpcAsyncDoPlap(
|
||||
[in] wchar_t * arg_1,
|
||||
[in] GUID* pInterfaceGuid,
|
||||
[in] const GUID* pInterfaceGuid,
|
||||
[in][string] wchar_t * arg_3,
|
||||
[in] DWORD dwSize,
|
||||
[in][size_is(dwSize)] struct_E arg_5[]);
|
||||
|
@ -337,7 +337,7 @@ interface wlansvc_interface
|
|||
/* Function: 0x27 */
|
||||
DWORD _RpcCancelPlap(
|
||||
[in] wchar_t * arg_1,
|
||||
[in] GUID* pInterfaceGuid);
|
||||
[in] const GUID* pInterfaceGuid);
|
||||
|
||||
/* Function: 0x28 */
|
||||
DWORD _RpcSetSecuritySettings(
|
||||
|
|
Loading…
Reference in a new issue