windows-nt/Source/XPSP1/NT/ds/security/gina/snapins/gptext/wirelessext.h
2020-09-26 16:20:57 +08:00

52 lines
936 B
C

HRESULT
CreateWirelessChildPath(
LPWSTR pszParentPath,
LPWSTR pszChildComponent,
BSTR * ppszChildPath
);
HRESULT
RetrieveWirelessPolicyFromDS(
PGROUP_POLICY_OBJECT pGPOInfo,
LPWSTR *ppszWirelessPolicy,
LPWSTR pszWirelessPolicyName,
LPWSTR pszWirelessPolicyDescription,
LPWSTR pszWirelessPolicyID
);
DWORD
DeleteWirelessPolicyFromRegistry(
);
DWORD
WriteWirelessPolicyToRegistry(
LPWSTR pszWirelessPolicyPath,
LPWSTR pszWirelessPolicyName,
LPWSTR pszWirelessPolicyDescription,
LPWSTR pszWirelessPolicyID
);
HRESULT
RegisterWireless(void);
HRESULT
UnregisterWireless(void);
VOID
PingWirelessPolicyAgent(
);
#define BAIL_ON_FAILURE(hr) \
if (FAILED(hr)) { \
goto error; \
}
#define BAIL_ON_WIN32_ERROR(dwError) \
if (dwError) { \
goto error; \
}