ReactOS 0.4.16-dev-338-g34e76ad
rpcserver.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS WLAN Service
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/services/wlansvc/rpcserver.c
5 * PURPOSE: RPC server interface
6 * COPYRIGHT: Copyright 2009 Christoph von Wittich
7 */
8
9#include "precomp.h"
10
11#define NDEBUG
12#include <debug.h>
13//#define GET_IF_ENTRY2_IMPLEMENTED 1
14
16
18{
20
22
23 Status = RpcServerUseProtseqEpW(L"ncalrpc", 20, L"wlansvc", NULL);
24 if (Status != RPC_S_OK)
25 {
26 DPRINT("RpcServerUseProtseqEpW() failed (Status %lx)\n", Status);
27 return 0;
28 }
29
30 Status = RpcServerRegisterIf(wlansvc_interface_v1_0_s_ifspec, NULL, NULL);
31 if (Status != RPC_S_OK)
32 {
33 DPRINT("RpcServerRegisterIf() failed (Status %lx)\n", Status);
34 return 0;
35 }
36
38 if (Status != RPC_S_OK)
39 {
40 DPRINT("RpcServerListen() failed (Status %lx)\n", Status);
41 }
42
43 DPRINT("RpcServerListen finished\n");
44 return 0;
45}
46
48{
49 PLIST_ENTRY CurrentEntry;
50 PWLANSVCHANDLE lpWlanSvcHandle;
51
52 CurrentEntry = WlanSvcHandleListHead.Flink;
53 while (CurrentEntry != &WlanSvcHandleListHead)
54 {
55 lpWlanSvcHandle = CONTAINING_RECORD(CurrentEntry,
57 WlanSvcHandleListEntry);
58 CurrentEntry = CurrentEntry->Flink;
59
60 if (lpWlanSvcHandle == (PWLANSVCHANDLE) ClientHandle)
61 return lpWlanSvcHandle;
62 }
63
64 return NULL;
65}
66
68 wchar_t *arg_1,
69 DWORD dwClientVersion,
70 DWORD *pdwNegotiatedVersion,
71 LPWLANSVC_RPC_HANDLE phClientHandle)
72{
73 PWLANSVCHANDLE lpWlanSvcHandle;
74
75 lpWlanSvcHandle = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(WLANSVCHANDLE));
76 if (lpWlanSvcHandle == NULL)
77 {
78 DPRINT1("Failed to allocate Heap!\n");
80 }
81
82 if (dwClientVersion > 2)
83 dwClientVersion = 2;
84
85 if (dwClientVersion < 1)
86 dwClientVersion = 1;
87
88 lpWlanSvcHandle->dwClientVersion = dwClientVersion;
89 *pdwNegotiatedVersion = dwClientVersion;
90
92 *phClientHandle = lpWlanSvcHandle;
93
94 return ERROR_SUCCESS;
95}
96
98 LPWLANSVC_RPC_HANDLE phClientHandle)
99{
100 PWLANSVCHANDLE lpWlanSvcHandle;
101
102 lpWlanSvcHandle = WlanSvcGetHandleEntry(*phClientHandle);
103 if (!lpWlanSvcHandle)
104 {
106 }
107
108 RemoveEntryList(&lpWlanSvcHandle->WlanSvcHandleListEntry);
109 HeapFree(GetProcessHeap(), 0, lpWlanSvcHandle);
110
111 return ERROR_SUCCESS;
112}
113
115 WLANSVC_RPC_HANDLE hClientHandle,
116 PWLAN_INTERFACE_INFO_LIST *ppInterfaceList)
117{
118#if GET_IF_ENTRY2_IMPLEMENTED
119 DWORD dwNumInterfaces;
120 DWORD dwResult, dwSize;
121 DWORD dwIndex;
122 MIB_IF_ROW2 IfRow;
124
125 dwResult = GetNumberOfInterfaces(&dwNumInterfaces);
127 if (dwResult != NO_ERROR)
128 {
129 /* set num interfaces to zero when an error occurs */
130 dwNumInterfaces = 0;
131 }
132 else
133 {
134 if (dwNumInterfaces > 1)
135 {
136 /* add extra size for interface */
137 dwSize += (dwNumInterfaces-1) * sizeof(WLAN_INTERFACE_INFO);
138 }
139 }
140
141 /* allocate interface list */
143 if (!InterfaceList)
144 {
146 }
147
148 *ppInterfaceList = InterfaceList;
149 if (!dwNumInterfaces)
150 {
151 return ERROR_SUCCESS;
152 }
153
154 for(dwIndex = 0; dwIndex < dwNumInterfaces; dwIndex++)
155 {
156 ZeroMemory(&IfRow, sizeof(MIB_IF_ROW2));
157 IfRow.InterfaceIndex = dwIndex;
158
159 dwResult = GetIfEntry2(&IfRow);
160 if (dwResult == NO_ERROR)
161 {
162 if (IfRow.Type == IF_TYPE_IEEE80211 && IfRow.InterfaceAndOperStatusFlags.HardwareInterface)
163 {
164 RtlMoveMemory(&InterfaceList->InterfaceInfo[InterfaceList->dwNumberOfItems].InterfaceGuid, &IfRow.InterfaceGuid, sizeof(GUID));
165 wcscpy(InterfaceList->InterfaceInfo[InterfaceList->dwNumberOfItems].strInterfaceDescription, IfRow.Description);
166 //FIXME set state
167 InterfaceList->dwNumberOfItems++;
168 }
169 }
170 }
171
172 return ERROR_SUCCESS;
173#else
176#endif
177}
178
180 WLANSVC_RPC_HANDLE hClientHandle,
181 long OpCode,
182 DWORD dwDataSize,
184{
187}
188
190 WLANSVC_RPC_HANDLE hClientHandle,
192 LPDWORD pdwDataSize,
193 char **ppData,
194 DWORD *pWlanOpcodeValueType)
195{
198}
199
201 WLANSVC_RPC_HANDLE hClientHandle,
202 const GUID *pInterfaceGuid,
203 PWLAN_INTERFACE_CAPABILITY *ppCapability)
204{
205 PWLANSVCHANDLE lpWlanSvcHandle;
206
207 lpWlanSvcHandle = WlanSvcGetHandleEntry(hClientHandle);
208 if (!lpWlanSvcHandle)
209 {
211 }
212
215}
216
218 WLANSVC_RPC_HANDLE hClientHandle,
219 const GUID *pInterfaceGuid,
221 DWORD dwDataSize,
223{
226}
227
229 WLANSVC_RPC_HANDLE hClientHandle,
230 const GUID *pInterfaceGuid,
231 long OpCode,
232 LPDWORD pdwDataSize,
233 LPBYTE *ppData,
234 LPDWORD pWlanOpcodeValueType)
235{
238}
239
241 WLANSVC_RPC_HANDLE hClientHandle,
242 const GUID *pInterfaceGuid,
243 DWORD Type,
244 DWORD dwInBufferSize,
245 LPBYTE pInBuffer,
246 DWORD dwOutBufferSize,
247 LPBYTE pOutBuffer,
248 LPDWORD pdwBytesReturned)
249{
252}
253
255 WLANSVC_RPC_HANDLE hClientHandle,
256 const GUID *pInterfaceGuid,
257 PDOT11_SSID pDot11Ssid,
258 PWLAN_RAW_DATA pIeData)
259{
260 PWLANSVCHANDLE lpWlanSvcHandle;
261
262 lpWlanSvcHandle = WlanSvcGetHandleEntry(hClientHandle);
263 if (!lpWlanSvcHandle)
264 {
266 }
267
268 /*
269 DWORD dwBytesReturned;
270 HANDLE hDevice;
271 ULONG OidCode = OID_802_11_BSSID_LIST_SCAN;
272 PNDIS_802_11_BSSID_LIST pBssIDList;
273
274 DeviceIoControl(hDevice,
275 IOCTL_NDIS_QUERY_GLOBAL_STATS,
276 &OidCode,
277 sizeof(ULONG),
278 NULL,
279 0,
280 &dwBytesReturned,
281 NULL);
282*/
285}
286
288 WLANSVC_RPC_HANDLE hClientHandle,
289 const GUID *pInterfaceGuid,
291 WLAN_AVAILABLE_NETWORK_LIST **ppAvailableNetworkList)
292{
295}
296
298 WLANSVC_RPC_HANDLE hClientHandle,
299 const GUID *pInterfaceGuid,
300 PDOT11_SSID pDot11Ssid,
301 short dot11BssType,
302 DWORD bSecurityEnabled,
303 LPDWORD dwBssListSize,
304 LPBYTE *ppWlanBssList)
305{
308}
309
311 WLANSVC_RPC_HANDLE hClientHandle,
312 const GUID *pInterfaceGuid,
313 const PWLAN_CONNECTION_PARAMETERS *pConnectionParameters)
314{
317}
318
320 WLANSVC_RPC_HANDLE hClientHandle,
321 const GUID *pInterfaceGUID)
322{
325}
326
328 WLANSVC_RPC_HANDLE hClientHandle,
329 DWORD arg_2,
330 LPDWORD pdwPrevNotifSource)
331{
334}
335
337 WLANSVC_RPC_HANDLE hClientHandle,
339{
342}
343
345 WLANSVC_RPC_HANDLE hClientHandle,
346 const GUID *pInterfaceGuid,
347 wchar_t *strProfileName,
348 EAP_METHOD_TYPE MethodType,
350 DWORD dwEapUserDataSize,
351 LPBYTE pbEapUserData)
352{
355}
356
358 WLANSVC_RPC_HANDLE hClientHandle,
359 const GUID *pInterfaceGuid,
361 wchar_t *strProfileXml,
362 wchar_t *strAllUserProfileSecurity,
363 BOOL bOverwrite,
364 LPDWORD pdwReasonCode)
365{
368}
369
371 WLANSVC_RPC_HANDLE hClientHandle,
372 const GUID *pInterfaceGuid,
373 wchar_t *strProfileName,
374 wchar_t **pstrProfileXml,
375 LPDWORD pdwFlags,
376 LPDWORD pdwGrantedAccess)
377{
380}
381
383 WLANSVC_RPC_HANDLE hClientHandle,
384 const GUID *pInterfaceGuid,
385 const wchar_t *strProfileName)
386{
389}
390
392 WLANSVC_RPC_HANDLE hClientHandle,
393 const GUID *pInterfaceGuid,
394 const wchar_t *strOldProfileName,
395 const wchar_t *strNewProfileName)
396{
399}
400
402 WLANSVC_RPC_HANDLE hClientHandle,
403 const GUID *pInterfaceGuid,
404 DWORD dwItems,
405 BYTE **strProfileNames)
406{
409}
410
412 WLANSVC_RPC_HANDLE hClientHandle,
413 const GUID *pInterfaceGuid,
414 PWLAN_PROFILE_INFO_LIST *ppProfileList)
415{
418}
419
421 WLANSVC_RPC_HANDLE hClientHandle,
422 const GUID *pInterfaceGuid,
423 wchar_t *strProfileName,
424 DWORD dwPosition)
425{
428}
429
431 WLANSVC_RPC_HANDLE hClientHandle,
432 const GUID *pInterfaceGuid,
433 wchar_t *strProfileName,
434 DWORD dwDataSize,
436{
439}
440
442 WLANSVC_RPC_HANDLE hClientHandle,
443 const GUID *pInterfaceGuid,
444 wchar_t *strProfileName,
445 LPDWORD dwDataSize,
446 LPBYTE *pData)
447{
450}
451
453 WLANSVC_RPC_HANDLE hClientHandle,
454 short wlanFilterListType,
455 PDOT11_NETWORK_LIST pNetworkList)
456{
459}
460
462 WLANSVC_RPC_HANDLE hClientHandle,
463 short wlanFilterListType,
464 PDOT11_NETWORK_LIST *pNetworkList)
465{
468}
469
471 WLANSVC_RPC_HANDLE hClientHandle,
472 wchar_t *strFormat,
473 DWORD dwDataListSize,
474 LPBYTE pPsdIEDataList)
475{
478}
479
481 WLANSVC_RPC_HANDLE hClientHandle,
482 const GUID *pInterfaceGuid,
483 wchar_t *strProfileName,
484 wchar_t *strAllUserProfileSecurity,
486 BOOL bOverWrite)
487{
490}
491
493 wchar_t *arg_1,
494 const GUID *pInterfaceGuid,
495 struct_C *arg_3,
496 LPDWORD arg_4)
497{
500}
501
503 wchar_t *arg_1,
504 GUID *arg_2,
506 GUID *arg_4)
507{
510}
511
513 wchar_t *arg_1,
514 DWORD arg_2,
515 const GUID *pInterfaceGuid,
516 LPDWORD arg_4)
517{
520}
521
523 wchar_t *arg_1,
524 const GUID *pInterfaceGuid)
525{
528}
529
531 wchar_t *arg_1,
532 GUID *arg_2,
533 GUID *arg_3,
534 short arg_4,
535 GUID *pInterfaceGuid,
536 struct_C **arg_6)
537{
540}
541
543 wchar_t *arg_1,
544 struct_C *arg_2,
545 struct_D *arg_3)
546{
549}
550
552 wchar_t *arg_1,
553 DWORD arg_2,
554 const GUID *pInterfaceGuid,
555 wchar_t *arg_4,
556 DWORD arg_5,
557 LPDWORD arg_6,
558 char *arg_7,
559 LPDWORD arg_8)
560{
563}
564
566 wchar_t *arg_1,
567 const GUID *pInterfaceGuid,
568 wchar_t *arg_3,
570 struct_E arg_5[])
571{
574}
575
577 wchar_t *arg_1,
579 struct_E **arg_3,
580 wchar_t **arg_4,
581 GUID *pInterfaceGuid,
582 LPDWORD arg_6,
583 LPDWORD arg_7,
584 LPDWORD arg_8,
585 LPDWORD arg_9)
586{
589}
590
592 wchar_t *arg_1,
593 const GUID *pInterfaceGuid)
594{
597}
598
600 WLANSVC_RPC_HANDLE hClientHandle,
601 WLAN_SECURABLE_OBJECT SecurableObject,
602 const wchar_t *strModifiedSDDL)
603{
606}
607
609 WLANSVC_RPC_HANDLE hClientHandle,
610 WLAN_SECURABLE_OBJECT SecurableObject,
611 WLAN_OPCODE_VALUE_TYPE *pValueType,
612 wchar_t **pstrCurrentSDDL,
613 LPDWORD pdwGrantedAccess)
614{
617}
618
620{
622}
623
624
626{
628}
629
630
632{
633}
634
Type
Definition: Type.h:7
#define DPRINT1
Definition: precomp.h:8
DWORD WINAPI RpcThreadRoutine(LPVOID lpParameter)
Definition: rpcserver.c:20
DWORD _RpcSetProfileList(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD dwItems, BYTE **strProfileNames)
Definition: rpcserver.c:401
DWORD _RpcIsNetworkSuppressed(wchar_t *arg_1, DWORD arg_2, const GUID *pInterfaceGuid, LPDWORD arg_4)
Definition: rpcserver.c:512
DWORD _RpcRenameProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, const wchar_t *strOldProfileName, const wchar_t *strNewProfileName)
Definition: rpcserver.c:391
DWORD _RpcGetProfileList(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, PWLAN_PROFILE_INFO_LIST *ppProfileList)
Definition: rpcserver.c:411
DWORD _RpcQueryAutoConfigParameter(WLANSVC_RPC_HANDLE hClientHandle, DWORD OpCode, LPDWORD pdwDataSize, char **ppData, DWORD *pWlanOpcodeValueType)
Definition: rpcserver.c:189
DWORD _RpcSetUIForwardingNetworkList(wchar_t *arg_1, GUID *arg_2, DWORD dwSize, GUID *arg_4)
Definition: rpcserver.c:502
DWORD _RpcGetSecuritySettings(WLANSVC_RPC_HANDLE hClientHandle, WLAN_SECURABLE_OBJECT SecurableObject, WLAN_OPCODE_VALUE_TYPE *pValueType, wchar_t **pstrCurrentSDDL, LPDWORD pdwGrantedAccess)
Definition: rpcserver.c:608
DWORD _RpcSetProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD dwFlags, wchar_t *strProfileXml, wchar_t *strAllUserProfileSecurity, BOOL bOverwrite, LPDWORD pdwReasonCode)
Definition: rpcserver.c:357
DWORD _RpcOpenHandle(wchar_t *arg_1, DWORD dwClientVersion, DWORD *pdwNegotiatedVersion, LPWLANSVC_RPC_HANDLE phClientHandle)
Definition: rpcserver.c:67
void __RPC_USER WLANSVC_RPC_HANDLE_rundown(WLANSVC_RPC_HANDLE hClientHandle)
Definition: rpcserver.c:631
DWORD _RpcSetPsdIEDataList(WLANSVC_RPC_HANDLE hClientHandle, wchar_t *strFormat, DWORD dwDataListSize, LPBYTE pPsdIEDataList)
Definition: rpcserver.c:470
DWORD _RpcSetProfileEapUserData(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, EAP_METHOD_TYPE MethodType, DWORD dwFlags, DWORD dwEapUserDataSize, LPBYTE pbEapUserData)
Definition: rpcserver.c:344
DWORD _RpcEnumInterfaces(WLANSVC_RPC_HANDLE hClientHandle, PWLAN_INTERFACE_INFO_LIST *ppInterfaceList)
Definition: rpcserver.c:114
DWORD _RpcUIResponse(wchar_t *arg_1, struct_C *arg_2, struct_D *arg_3)
Definition: rpcserver.c:542
DWORD _RpcGetInterfaceCapability(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, PWLAN_INTERFACE_CAPABILITY *ppCapability)
Definition: rpcserver.c:200
DWORD _RpcIsUIRequestPending(wchar_t *arg_1, const GUID *pInterfaceGuid, struct_C *arg_3, LPDWORD arg_4)
Definition: rpcserver.c:492
PWLANSVCHANDLE WlanSvcGetHandleEntry(LPWLANSVC_RPC_HANDLE ClientHandle)
Definition: rpcserver.c:47
DWORD _RpcCancelPlap(wchar_t *arg_1, const GUID *pInterfaceGuid)
Definition: rpcserver.c:591
DWORD _RpcAsyncGetNotification(WLANSVC_RPC_HANDLE hClientHandle, PWLAN_NOTIFICATION_DATA *NotificationData)
Definition: rpcserver.c:336
DWORD _RpcGetNetworkBssList(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, PDOT11_SSID pDot11Ssid, short dot11BssType, DWORD bSecurityEnabled, LPDWORD dwBssListSize, LPBYTE *ppWlanBssList)
Definition: rpcserver.c:297
DWORD _RpcDisconnect(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGUID)
Definition: rpcserver.c:319
DWORD _RpcGetProfileCustomUserData(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, LPDWORD dwDataSize, LPBYTE *pData)
Definition: rpcserver.c:441
DWORD _RpcSetProfileCustomUserData(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, DWORD dwDataSize, LPBYTE pData)
Definition: rpcserver.c:430
DWORD _RpcSetAutoConfigParameter(WLANSVC_RPC_HANDLE hClientHandle, long OpCode, DWORD dwDataSize, LPBYTE pData)
Definition: rpcserver.c:179
DWORD _RpcConnect(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, const PWLAN_CONNECTION_PARAMETERS *pConnectionParameters)
Definition: rpcserver.c:310
DWORD _RpcSaveTemporaryProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, wchar_t *strAllUserProfileSecurity, DWORD dwFlags, BOOL bOverWrite)
Definition: rpcserver.c:480
DWORD _RpcQueryInterface(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, long OpCode, LPDWORD pdwDataSize, LPBYTE *ppData, LPDWORD pWlanOpcodeValueType)
Definition: rpcserver.c:228
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)
Definition: rpcserver.c:576
LIST_ENTRY WlanSvcHandleListHead
Definition: rpcserver.c:15
DWORD _RpcCloseHandle(LPWLANSVC_RPC_HANDLE phClientHandle)
Definition: rpcserver.c:97
DWORD _RpcSetFilterList(WLANSVC_RPC_HANDLE hClientHandle, short wlanFilterListType, PDOT11_NETWORK_LIST pNetworkList)
Definition: rpcserver.c:452
DWORD _RpcIhvControl(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD Type, DWORD dwInBufferSize, LPBYTE pInBuffer, DWORD dwOutBufferSize, LPBYTE pOutBuffer, LPDWORD pdwBytesReturned)
Definition: rpcserver.c:240
DWORD _RpcAsyncDoPlap(wchar_t *arg_1, const GUID *pInterfaceGuid, wchar_t *arg_3, DWORD dwSize, struct_E arg_5[])
Definition: rpcserver.c:565
DWORD _RpcGetProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, wchar_t **pstrProfileXml, LPDWORD pdwFlags, LPDWORD pdwGrantedAccess)
Definition: rpcserver.c:370
DWORD _RpcSetSecuritySettings(WLANSVC_RPC_HANDLE hClientHandle, WLAN_SECURABLE_OBJECT SecurableObject, const wchar_t *strModifiedSDDL)
Definition: rpcserver.c:599
DWORD _RpcRemoveUIForwardingNetworkList(wchar_t *arg_1, const GUID *pInterfaceGuid)
Definition: rpcserver.c:522
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)
Definition: rpcserver.c:551
DWORD _RpcRegisterNotification(WLANSVC_RPC_HANDLE hClientHandle, DWORD arg_2, LPDWORD pdwPrevNotifSource)
Definition: rpcserver.c:327
DWORD _RpcSetInterface(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD OpCode, DWORD dwDataSize, LPBYTE pData)
Definition: rpcserver.c:217
DWORD _RpcSetProfilePosition(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, wchar_t *strProfileName, DWORD dwPosition)
Definition: rpcserver.c:420
DWORD _RpcGetAvailableNetworkList(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD dwFlags, WLAN_AVAILABLE_NETWORK_LIST **ppAvailableNetworkList)
Definition: rpcserver.c:287
DWORD _RpcGetFilterList(WLANSVC_RPC_HANDLE hClientHandle, short wlanFilterListType, PDOT11_NETWORK_LIST *pNetworkList)
Definition: rpcserver.c:461
DWORD _RpcScan(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, PDOT11_SSID pDot11Ssid, PWLAN_RAW_DATA pIeData)
Definition: rpcserver.c:254
DWORD _RpcDeleteProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, const wchar_t *strProfileName)
Definition: rpcserver.c:382
DWORD _RpcQueryExtUIRequest(wchar_t *arg_1, GUID *arg_2, GUID *arg_3, short arg_4, GUID *pInterfaceGuid, struct_C **arg_6)
Definition: rpcserver.c:530
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15
#define ERROR_NOT_ENOUGH_MEMORY
Definition: dderror.h:7
#define NO_ERROR
Definition: dderror.h:5
#define ERROR_SUCCESS
Definition: deptool.c:10
OpCode
Definition: dlist.c:229
#define NULL
Definition: types.h:112
#define GetProcessHeap()
Definition: compat.h:736
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define HeapAlloc
Definition: compat.h:733
#define HeapFree(x, y, z)
Definition: compat.h:735
#define ERROR_INVALID_HANDLE
Definition: compat.h:98
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
#define RemoveEntryList(Entry)
Definition: env_spec_w32.h:986
#define InsertTailList(ListHead, Entry)
#define InitializeListHead(ListHead)
Definition: env_spec_w32.h:944
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
Status
Definition: gdiplustypes.h:25
GLenum GLsizei len
Definition: glext.h:6722
DWORD WINAPI GetNumberOfInterfaces(PDWORD pdwNumIf)
#define IF_TYPE_IEEE80211
Definition: ipifcons.h:91
PSDBQUERYRESULT_VISTA PVOID * ppData
Definition: env.c:56
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
static PVOID ptr
Definition: dispmode.c:27
#define L(x)
Definition: ntvdm.h:50
RPC_STATUS WINAPI RpcServerListen(UINT MinimumCallThreads, UINT MaxCalls, UINT DontWait)
Definition: rpc_server.c:1520
RPC_STATUS WINAPI RpcServerRegisterIf(RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv)
Definition: rpc_server.c:1116
RPC_STATUS WINAPI RpcServerUseProtseqEpW(RPC_WSTR Protseq, UINT MaxCalls, RPC_WSTR Endpoint, LPVOID SecurityDescriptor)
Definition: rpc_server.c:927
#define RPC_C_LISTEN_MAX_CALLS_DEFAULT
Definition: rpcdce.h:122
#define RPC_S_OK
Definition: rpcnterr.h:22
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
#define midl_user_free
Definition: rpc.h:45
#define __RPC_FAR
Definition: rpc.h:56
long RPC_STATUS
Definition: rpc.h:52
#define __RPC_USER
Definition: rpc.h:65
#define midl_user_allocate
Definition: rpc.h:44
#define DPRINT
Definition: sndvol32.h:73
Definition: typedefs.h:120
struct _LIST_ENTRY * Flink
Definition: typedefs.h:121
DWORD dwClientVersion
Definition: precomp.h:21
LIST_ENTRY WlanSvcHandleListEntry
Definition: precomp.h:20
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1830
unsigned char * LPBYTE
Definition: typedefs.h:53
ULONG_PTR SIZE_T
Definition: typedefs.h:80
uint32_t * LPDWORD
Definition: typedefs.h:59
#define RtlMoveMemory(Destination, Source, Length)
Definition: typedefs.h:264
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
_In_ PUSBD_INTERFACE_LIST_ENTRY InterfaceList
Definition: usbdlib.h:181
_In_ PCWDF_DEVICE_PNP_NOTIFICATION_DATA NotificationData
Definition: wdfdevice.h:782
#define ZeroMemory
Definition: winbase.h:1737
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
#define WINAPI
Definition: msvc.h:6
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
unsigned char BYTE
Definition: xxhash.c:193