26 DPRINT(
"RpcServerUseProtseqEpW() failed (Status %lx)\n",
Status);
33 DPRINT(
"RpcServerRegisterIf() failed (Status %lx)\n",
Status);
40 DPRINT(
"RpcServerListen() failed (Status %lx)\n",
Status);
43 DPRINT(
"RpcServerListen finished\n");
57 WlanSvcHandleListEntry);
58 CurrentEntry = CurrentEntry->
Flink;
61 return lpWlanSvcHandle;
69 DWORD dwClientVersion,
70 DWORD *pdwNegotiatedVersion,
76 if (lpWlanSvcHandle ==
NULL)
78 DPRINT1(
"Failed to allocate Heap!\n");
82 if (dwClientVersion > 2)
85 if (dwClientVersion < 1)
89 *pdwNegotiatedVersion = dwClientVersion;
92 *phClientHandle = lpWlanSvcHandle;
103 if (!lpWlanSvcHandle)
118#if GET_IF_ENTRY2_IMPLEMENTED
119 DWORD dwNumInterfaces;
134 if (dwNumInterfaces > 1)
149 if (!dwNumInterfaces)
154 for(dwIndex = 0; dwIndex < dwNumInterfaces; dwIndex++)
157 IfRow.InterfaceIndex = dwIndex;
159 dwResult = GetIfEntry2(&IfRow);
162 if (IfRow.Type ==
IF_TYPE_IEEE80211 && IfRow.InterfaceAndOperStatusFlags.HardwareInterface)
194 DWORD *pWlanOpcodeValueType)
202 const GUID *pInterfaceGuid,
208 if (!lpWlanSvcHandle)
219 const GUID *pInterfaceGuid,
230 const GUID *pInterfaceGuid,
242 const GUID *pInterfaceGuid,
244 DWORD dwInBufferSize,
246 DWORD dwOutBufferSize,
256 const GUID *pInterfaceGuid,
263 if (!lpWlanSvcHandle)
289 const GUID *pInterfaceGuid,
299 const GUID *pInterfaceGuid,
302 DWORD bSecurityEnabled,
312 const GUID *pInterfaceGuid,
321 const GUID *pInterfaceGUID)
346 const GUID *pInterfaceGuid,
347 wchar_t *strProfileName,
350 DWORD dwEapUserDataSize,
359 const GUID *pInterfaceGuid,
361 wchar_t *strProfileXml,
362 wchar_t *strAllUserProfileSecurity,
372 const GUID *pInterfaceGuid,
373 wchar_t *strProfileName,
374 wchar_t **pstrProfileXml,
384 const GUID *pInterfaceGuid,
385 const wchar_t *strProfileName)
393 const GUID *pInterfaceGuid,
394 const wchar_t *strOldProfileName,
395 const wchar_t *strNewProfileName)
403 const GUID *pInterfaceGuid,
405 BYTE **strProfileNames)
413 const GUID *pInterfaceGuid,
422 const GUID *pInterfaceGuid,
423 wchar_t *strProfileName,
432 const GUID *pInterfaceGuid,
433 wchar_t *strProfileName,
443 const GUID *pInterfaceGuid,
444 wchar_t *strProfileName,
454 short wlanFilterListType,
463 short wlanFilterListType,
473 DWORD dwDataListSize,
482 const GUID *pInterfaceGuid,
483 wchar_t *strProfileName,
484 wchar_t *strAllUserProfileSecurity,
494 const GUID *pInterfaceGuid,
515 const GUID *pInterfaceGuid,
524 const GUID *pInterfaceGuid)
535 GUID *pInterfaceGuid,
554 const GUID *pInterfaceGuid,
567 const GUID *pInterfaceGuid,
581 GUID *pInterfaceGuid,
593 const GUID *pInterfaceGuid)
602 const wchar_t *strModifiedSDDL)
612 wchar_t **pstrCurrentSDDL,
DWORD WINAPI RpcThreadRoutine(LPVOID lpParameter)
DWORD _RpcSetProfileList(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD dwItems, BYTE **strProfileNames)
DWORD _RpcIsNetworkSuppressed(wchar_t *arg_1, DWORD arg_2, const GUID *pInterfaceGuid, LPDWORD arg_4)
DWORD _RpcRenameProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, const wchar_t *strOldProfileName, const wchar_t *strNewProfileName)
DWORD _RpcGetProfileList(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, PWLAN_PROFILE_INFO_LIST *ppProfileList)
DWORD _RpcQueryAutoConfigParameter(WLANSVC_RPC_HANDLE hClientHandle, DWORD OpCode, LPDWORD pdwDataSize, char **ppData, DWORD *pWlanOpcodeValueType)
DWORD _RpcSetUIForwardingNetworkList(wchar_t *arg_1, GUID *arg_2, DWORD dwSize, GUID *arg_4)
DWORD _RpcGetSecuritySettings(WLANSVC_RPC_HANDLE hClientHandle, WLAN_SECURABLE_OBJECT SecurableObject, WLAN_OPCODE_VALUE_TYPE *pValueType, wchar_t **pstrCurrentSDDL, LPDWORD pdwGrantedAccess)
DWORD _RpcSetProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD dwFlags, wchar_t *strProfileXml, wchar_t *strAllUserProfileSecurity, BOOL bOverwrite, LPDWORD pdwReasonCode)
DWORD _RpcOpenHandle(wchar_t *arg_1, DWORD dwClientVersion, DWORD *pdwNegotiatedVersion, LPWLANSVC_RPC_HANDLE phClientHandle)
void __RPC_USER WLANSVC_RPC_HANDLE_rundown(WLANSVC_RPC_HANDLE hClientHandle)
DWORD _RpcSetPsdIEDataList(WLANSVC_RPC_HANDLE hClientHandle, wchar_t *strFormat, DWORD dwDataListSize, LPBYTE pPsdIEDataList)
DWORD _RpcSetProfileEapUserData(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, EAP_METHOD_TYPE MethodType, DWORD dwFlags, DWORD dwEapUserDataSize, LPBYTE pbEapUserData)
DWORD _RpcEnumInterfaces(WLANSVC_RPC_HANDLE hClientHandle, PWLAN_INTERFACE_INFO_LIST *ppInterfaceList)
DWORD _RpcUIResponse(wchar_t *arg_1, struct_C *arg_2, struct_D *arg_3)
DWORD _RpcGetInterfaceCapability(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, PWLAN_INTERFACE_CAPABILITY *ppCapability)
DWORD _RpcIsUIRequestPending(wchar_t *arg_1, const GUID *pInterfaceGuid, struct_C *arg_3, LPDWORD arg_4)
PWLANSVCHANDLE WlanSvcGetHandleEntry(LPWLANSVC_RPC_HANDLE ClientHandle)
DWORD _RpcCancelPlap(wchar_t *arg_1, const GUID *pInterfaceGuid)
DWORD _RpcAsyncGetNotification(WLANSVC_RPC_HANDLE hClientHandle, PWLAN_NOTIFICATION_DATA *NotificationData)
DWORD _RpcGetNetworkBssList(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, PDOT11_SSID pDot11Ssid, short dot11BssType, DWORD bSecurityEnabled, LPDWORD dwBssListSize, LPBYTE *ppWlanBssList)
DWORD _RpcDisconnect(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGUID)
DWORD _RpcGetProfileCustomUserData(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, LPDWORD dwDataSize, LPBYTE *pData)
DWORD _RpcSetProfileCustomUserData(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, DWORD dwDataSize, LPBYTE pData)
DWORD _RpcSetAutoConfigParameter(WLANSVC_RPC_HANDLE hClientHandle, long OpCode, DWORD dwDataSize, LPBYTE pData)
DWORD _RpcConnect(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, const PWLAN_CONNECTION_PARAMETERS *pConnectionParameters)
DWORD _RpcSaveTemporaryProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, wchar_t *strAllUserProfileSecurity, DWORD dwFlags, BOOL bOverWrite)
DWORD _RpcQueryInterface(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, long OpCode, LPDWORD pdwDataSize, LPBYTE *ppData, LPDWORD pWlanOpcodeValueType)
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)
LIST_ENTRY WlanSvcHandleListHead
DWORD _RpcCloseHandle(LPWLANSVC_RPC_HANDLE phClientHandle)
DWORD _RpcSetFilterList(WLANSVC_RPC_HANDLE hClientHandle, short wlanFilterListType, PDOT11_NETWORK_LIST pNetworkList)
DWORD _RpcIhvControl(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD Type, DWORD dwInBufferSize, LPBYTE pInBuffer, DWORD dwOutBufferSize, LPBYTE pOutBuffer, LPDWORD pdwBytesReturned)
DWORD _RpcAsyncDoPlap(wchar_t *arg_1, const GUID *pInterfaceGuid, wchar_t *arg_3, DWORD dwSize, struct_E arg_5[])
DWORD _RpcGetProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, wchar_t **pstrProfileXml, LPDWORD pdwFlags, LPDWORD pdwGrantedAccess)
DWORD _RpcSetSecuritySettings(WLANSVC_RPC_HANDLE hClientHandle, WLAN_SECURABLE_OBJECT SecurableObject, const wchar_t *strModifiedSDDL)
DWORD _RpcRemoveUIForwardingNetworkList(wchar_t *arg_1, const GUID *pInterfaceGuid)
DWORD _RpcGetProfileKeyInfo(wchar_t *arg_1, DWORD arg_2, const GUID *pInterfaceGuid, wchar_t *arg_4, DWORD arg_5, LPDWORD arg_6, char *arg_7, LPDWORD arg_8)
DWORD _RpcRegisterNotification(WLANSVC_RPC_HANDLE hClientHandle, DWORD arg_2, LPDWORD pdwPrevNotifSource)
DWORD _RpcSetInterface(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD OpCode, DWORD dwDataSize, LPBYTE pData)
DWORD _RpcSetProfilePosition(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, DWORD dwPosition)
DWORD _RpcGetAvailableNetworkList(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD dwFlags, WLAN_AVAILABLE_NETWORK_LIST **ppAvailableNetworkList)
DWORD _RpcGetFilterList(WLANSVC_RPC_HANDLE hClientHandle, short wlanFilterListType, PDOT11_NETWORK_LIST *pNetworkList)
DWORD _RpcScan(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, PDOT11_SSID pDot11Ssid, PWLAN_RAW_DATA pIeData)
DWORD _RpcDeleteProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, const wchar_t *strProfileName)
DWORD _RpcQueryExtUIRequest(wchar_t *arg_1, GUID *arg_2, GUID *arg_3, short arg_4, GUID *pInterfaceGuid, struct_C **arg_6)
#define ERROR_NOT_ENOUGH_MEMORY
#define ERROR_CALL_NOT_IMPLEMENTED
#define HeapFree(x, y, z)
#define ERROR_INVALID_HANDLE
#define RemoveEntryList(Entry)
#define InsertTailList(ListHead, Entry)
#define InitializeListHead(ListHead)
DWORD WINAPI GetNumberOfInterfaces(PDWORD pdwNumIf)
#define IF_TYPE_IEEE80211
PSDBQUERYRESULT_VISTA PVOID * ppData
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
RPC_STATUS WINAPI RpcServerListen(UINT MinimumCallThreads, UINT MaxCalls, UINT DontWait)
RPC_STATUS WINAPI RpcServerRegisterIf(RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv)
RPC_STATUS WINAPI RpcServerUseProtseqEpW(RPC_WSTR Protseq, UINT MaxCalls, RPC_WSTR Endpoint, LPVOID SecurityDescriptor)
#define RPC_C_LISTEN_MAX_CALLS_DEFAULT
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
#define midl_user_allocate
struct _LIST_ENTRY * Flink
LIST_ENTRY WlanSvcHandleListEntry
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
#define RtlMoveMemory(Destination, Source, Length)
#define CONTAINING_RECORD(address, type, field)
_In_ PUSBD_INTERFACE_LIST_ENTRY InterfaceList
_In_ PCWDF_DEVICE_PNP_NOTIFICATION_DATA NotificationData
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
enum _WLAN_OPCODE_VALUE_TYPE WLAN_OPCODE_VALUE_TYPE
enum _WLAN_SECURABLE_OBJECT WLAN_SECURABLE_OBJECT
struct _WLAN_INTERFACE_INFO_LIST WLAN_INTERFACE_INFO_LIST