Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2001, Microsoft Corporation
  3. Module Name:
  4. eapolutil.h
  5. Abstract:
  6. Definitions for tools and ends
  7. Revision History:
  8. sachins, April 25, 2001, Created
  9. --*/
  10. #ifndef _ELUTIL_H
  11. #define _ELUTIL_H
  12. # ifdef __cplusplus
  13. extern "C" {
  14. # endif
  15. //
  16. // STRUCT: EAPOLUIFUNC
  17. //
  18. typedef DWORD (*EAPOLUIFUNC) (WCHAR *, VOID *);
  19. //
  20. // STRUCT: EAPOLUIFUNCMAP
  21. //
  22. typedef struct _EAPOLUIFUNCMAP
  23. {
  24. DWORD dwEAPOLUIMsgType;
  25. EAPOLUIFUNC EapolUIFunc;
  26. EAPOLUIFUNC EapolUIVerify;
  27. DWORD fShowBalloon;
  28. DWORD dwStringID;
  29. } EAPOLUIFUNCMAP, *PEAPOLUIFUNCMAP;
  30. // Global table for UI functions
  31. extern EAPOLUIFUNCMAP EapolUIFuncMap[NUM_EAPOL_DLG_MSGS];
  32. HRESULT
  33. ElCanShowBalloon (
  34. IN const GUID * pGUIDConn,
  35. IN const WCHAR * pszAdapterName,
  36. IN OUT BSTR * pszBalloonText,
  37. IN OUT BSTR * pszCookie
  38. );
  39. HRESULT
  40. ElOnBalloonClick (
  41. IN const GUID * pGUIDConn,
  42. IN const WCHAR * pszAdapterName,
  43. IN const BSTR szCookie
  44. );
  45. HRESULT
  46. ElQueryConnectionStatusText (
  47. IN const GUID * pGUIDConn,
  48. IN const NETCON_STATUS ncs,
  49. OUT BSTR * pszStatusText
  50. );
  51. DWORD
  52. ElSecureEncodePw (
  53. IN PWCHAR *pwszPassword,
  54. OUT DATA_BLOB *pDataBlob
  55. );
  56. # ifdef __cplusplus
  57. }
  58. # endif
  59. #endif // _ELUTIL_H