mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:05:43 +00:00
[WLANAPI]
add stubs for WlanReasonCodeToString, WlanIhvControl, WlanSetSecuritySettings and WlanGetAvailableNetworkList svn path=/trunk/; revision=66553
This commit is contained in:
parent
e1f523b79c
commit
394264825f
4 changed files with 78 additions and 8 deletions
|
@ -40,9 +40,6 @@ DWORD _RpcEnumInterfaces(
|
|||
MIB_IF_ROW2 IfRow;
|
||||
PWLAN_INTERFACE_INFO_LIST InterfaceList;
|
||||
|
||||
if (!hClientHandle || !ppInterfaceList)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
dwResult = GetNumberOfInterfaces(&dwNumInterfaces);
|
||||
dwSize = sizeof(WLAN_INTERFACE_INFO_LIST);
|
||||
if (dwResult != NO_ERROR)
|
||||
|
|
|
@ -281,6 +281,66 @@ WlanGetInterfaceCapability(IN HANDLE hClientHandle,
|
|||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanReasonCodeToString(IN DWORD dwReasonCode,
|
||||
IN DWORD dwBufferSize,
|
||||
IN PWCHAR pStringBuffer,
|
||||
PVOID pReserved)
|
||||
{
|
||||
if ((pReserved != NULL) || (pStringBuffer == NULL) || (dwBufferSize == 0))
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanIhvControl(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN WLAN_IHV_CONTROL_TYPE Type,
|
||||
IN DWORD dwInBufferSize,
|
||||
IN PVOID pInBuffer,
|
||||
IN DWORD dwOutBufferSize,
|
||||
PVOID pOutBuffer,
|
||||
OUT PDWORD pdwBytesReturned)
|
||||
{
|
||||
if ((hClientHandle == NULL) || (pInterfaceGuid == NULL) || (pdwBytesReturned == NULL))
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanSetSecuritySettings(IN HANDLE hClientHandle,
|
||||
IN WLAN_SECURABLE_OBJECT SecurableObject,
|
||||
IN LPCWSTR strModifiedSDDL)
|
||||
{
|
||||
if ((hClientHandle == NULL) || (strModifiedSDDL == NULL) || (SecurableObject >= WLAN_SECURABLE_OBJECT_COUNT))
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
WlanGetAvailableNetworkList(IN HANDLE hClientHandle,
|
||||
IN const GUID *pInterfaceGuid,
|
||||
IN DWORD dwFlags,
|
||||
PVOID pReserved,
|
||||
OUT PWLAN_AVAILABLE_NETWORK_LIST *ppAvailableNetworkList)
|
||||
{
|
||||
if ((pReserved != NULL) || (pInterfaceGuid == NULL) || (hClientHandle == NULL) || (ppAvailableNetworkList == NULL))
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
UNIMPLEMENTED;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
void __RPC_FAR * __RPC_USER
|
||||
midl_user_allocate(SIZE_T len)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
@ stdcall WlanEnumInterfaces (ptr ptr ptr)
|
||||
@ stub WlanExtractPsdIEDataList
|
||||
@ stdcall WlanFreeMemory (ptr)
|
||||
@ stub WlanGetAvailableNetworkList
|
||||
@ stdcall WlanGetAvailableNetworkList (ptr ptr long ptr ptr)
|
||||
@ stub WlanGetFilterList
|
||||
@ stdcall WlanGetInterfaceCapability (ptr ptr ptr ptr)
|
||||
@ stub WlanGetNetworkBssList
|
||||
|
@ -14,11 +14,11 @@
|
|||
@ stdcall WlanGetProfileCustomUserData (ptr ptr ptr ptr ptr ptr)
|
||||
@ stdcall WlanGetProfileList (ptr ptr ptr ptr)
|
||||
@ stub WlanGetSecuritySettings
|
||||
@ stub WlanIhvControl
|
||||
@ stdcall WlanIhvControl (ptr ptr ptr long ptr long ptr ptr)
|
||||
@ stdcall WlanOpenHandle (long ptr ptr ptr)
|
||||
@ stub WlanQueryAutoConfigParameter
|
||||
@ stdcall WlanQueryInterface (ptr ptr ptr ptr ptr ptr ptr)
|
||||
@ stub WlanReasonCodeToString
|
||||
@ stdcall WlanReasonCodeToString (long long ptr ptr)
|
||||
@ stub WlanRegisterNotification
|
||||
@ stdcall WlanRenameProfile (ptr ptr ptr ptr ptr)
|
||||
@ stub WlanSaveTemporaryProfile
|
||||
|
@ -33,4 +33,4 @@
|
|||
@ stdcall WlanSetProfileList (ptr ptr long ptr ptr)
|
||||
@ stub WlanSetProfilePosition
|
||||
@ stub WlanSetPsdIEDataList
|
||||
@ stub WlanSetSecuritySettings
|
||||
@ stdcall WlanSetSecuritySettings (ptr long ptr)
|
||||
|
|
|
@ -52,6 +52,15 @@ typedef enum _WLAN_CONNECTION_MODE {
|
|||
wlan_connection_mode_invalid
|
||||
} WLAN_CONNECTION_MODE, *PWLAN_CONNECTION_MODE;
|
||||
|
||||
#if defined(__midl) || defined(__WIDL__)
|
||||
typedef [v1_enum] enum _WLAN_IHV_CONTROL_TYPE {
|
||||
#else
|
||||
typedef enum _WLAN_IHV_CONTROL_TYPE {
|
||||
#endif
|
||||
wlan_ihv_control_type_service,
|
||||
wlan_ihv_control_type_driver
|
||||
} WLAN_IHV_CONTROL_TYPE; /* HACK , *PWLAN_IHV_CONTROL_TYPE; */
|
||||
|
||||
#if defined(__midl) || defined(__WIDL__)
|
||||
typedef [v1_enum] enum _WLAN_INTF_OPCODE {
|
||||
#else
|
||||
|
@ -226,18 +235,22 @@ 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 WlanGetAvailableNetworkList(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN DWORD dwFlags, PVOID pReserved, OUT PWLAN_AVAILABLE_NETWORK_LIST *ppAvailableNetworkList);
|
||||
DWORD WINAPI WlanGetInterfaceCapability(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, PVOID pReserved, OUT PWLAN_INTERFACE_CAPABILITY *ppCapability);
|
||||
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 WlanIhvControl(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN WLAN_IHV_CONTROL_TYPE Type, IN DWORD dwInBufferSize, IN PVOID pInBuffer, IN DWORD dwOutBufferSize, PVOID pOutBuffer, OUT PDWORD pdwBytesReturned);
|
||||
DWORD WINAPI WlanQueryInterface(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN WLAN_INTF_OPCODE OpCode, PVOID pReserved, OUT PDWORD pdwDataSize, OUT PVOID *ppData, WLAN_OPCODE_VALUE_TYPE *pWlanOpcodeValueType);
|
||||
DWORD WINAPI WlanReasonCodeToString(IN DWORD dwReasonCode, IN DWORD dwBufferSize, IN PWCHAR pStringBuffer, PVOID pReserved);
|
||||
DWORD WINAPI WlanRenameProfile(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strOldProfileName, IN LPCWSTR strNewProfileName, PVOID pReserved);
|
||||
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 WlanSetSecuritySettings(IN HANDLE hClientHandle, IN WLAN_SECURABLE_OBJECT SecurableObject, IN LPCWSTR strModifiedSDDL);
|
||||
DWORD WINAPI WlanScan(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN PDOT11_SSID pDot11Ssid, IN PWLAN_RAW_DATA pIeData, PVOID pReserved);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue