#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wlansvc_c.h>
#include <wine/debug.h>
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (wlanapi) |
|
DWORD WINAPI | WlanDeleteProfile (IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strProfileName, PVOID pReserved) |
|
DWORD WINAPI | WlanRenameProfile (IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strOldProfileName, IN LPCWSTR strNewProfileName, 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 | 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 | WlanGetProfileCustomUserData (IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strProfileName, PVOID pReserved, OUT DWORD *pdwDataSize, OUT PBYTE *ppData) |
|
DWORD WINAPI | WlanSetProfileCustomUserData (IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN LPCWSTR strProfileName, IN DWORD dwDataSize, IN const PBYTE pData, PVOID pReserved) |
|
DWORD WINAPI | WlanGetProfileList (IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, PVOID pReserved, OUT PWLAN_PROFILE_INFO_LIST *ppProfileList) |
|
DWORD WINAPI | WlanSetProfileList (IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, DWORD dwItems, IN LPCWSTR *strProfileNames, PVOID pReserved) |
|
◆ _INC_WINDOWS
◆ COM_NO_WINDOWS_H
◆ WIN32_NO_STATUS
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
wlanapi |
| ) |
|
◆ WlanDeleteProfile()
Definition at line 37 of file profile.c.
41{
43
44 if ((pReserved !=
NULL) || (hClientHandle ==
NULL) || (pInterfaceGuid ==
NULL) || (strProfileName ==
NULL))
46
48 {
50 }
52 {
54 }
56
57 return dwResult;
58}
DWORD _RpcDeleteProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, const wchar_t *strProfileName)
#define ERROR_INVALID_PARAMETER
#define EXCEPTION_EXECUTE_HANDLER
#define RpcExceptionCode()
Referenced by WlanDeleteProfile_test().
◆ WlanGetProfile()
◆ WlanGetProfileCustomUserData()
Definition at line 123 of file profile.c.
129{
130 if ((pReserved !=
NULL) || (hClientHandle ==
NULL) || (pInterfaceGuid ==
NULL) || (strProfileName ==
NULL))
132
135}
◆ WlanGetProfileList()
Definition at line 158 of file profile.c.
162{
163 if ((pReserved !=
NULL) || (hClientHandle ==
NULL) || (pInterfaceGuid ==
NULL) || (ppProfileList ==
NULL))
165
168}
◆ WlanRenameProfile()
Definition at line 62 of file profile.c.
67{
69
70 if ((pReserved !=
NULL) || (hClientHandle ==
NULL) || (pInterfaceGuid ==
NULL) || (strOldProfileName ==
NULL) || (strNewProfileName ==
NULL))
72
74 {
75 dwResult =
_RpcRenameProfile(hClientHandle, pInterfaceGuid, strOldProfileName, strNewProfileName);
76 }
78 {
80 }
82
83 return dwResult;
84}
DWORD _RpcRenameProfile(WLANSVC_RPC_HANDLE hClientHandle, const GUID *pInterfaceGuid, const wchar_t *strOldProfileName, const wchar_t *strNewProfileName)
Referenced by WlanRenameProfile_test().
◆ WlanSetProfile()
Definition at line 105 of file profile.c.
113{
114 if ((pReserved !=
NULL) || (hClientHandle ==
NULL) || (pInterfaceGuid ==
NULL) || (strProfileXml ==
NULL) || (pdwReasonCode ==
NULL))
116
119}
◆ WlanSetProfileCustomUserData()
Definition at line 139 of file profile.c.
145{
146 if ((pReserved !=
NULL) || (hClientHandle ==
NULL) || (pInterfaceGuid ==
NULL) || (strProfileName ==
NULL))
148
149 if ((dwDataSize != 0) && (
pData ==
NULL))
151
154}
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
◆ WlanSetProfileList()
Definition at line 172 of file profile.c.
177{
178 if ((pReserved !=
NULL) || (hClientHandle ==
NULL) || (pInterfaceGuid ==
NULL) || (strProfileNames ==
NULL) || (dwItems == 0))
180
183}