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.

88 lines
1.3 KiB

  1. typedef struct _mmauthstate {
  2. GUID gMMAuthID;
  3. BOOL bInSPD;
  4. DWORD dwErrorCode;
  5. struct _mmauthstate * pNext;
  6. } MMAUTHSTATE, * PMMAUTHSTATE;
  7. DWORD
  8. PAAddMMAuthMethods(
  9. PIPSEC_NFA_DATA * ppIpsecNFAData,
  10. DWORD dwNumNFACount
  11. );
  12. DWORD
  13. PACreateMMAuthState(
  14. PIPSEC_NFA_DATA pIpsecNFAData,
  15. PMMAUTHSTATE * ppMMAuthState
  16. );
  17. DWORD
  18. PACreateMMAuthMethods(
  19. PIPSEC_NFA_DATA pIpsecNFAData,
  20. PMM_AUTH_METHODS * ppSPDMMAuthMethods
  21. );
  22. DWORD
  23. PACreateMMAuthInfos(
  24. DWORD dwAuthMethodCount,
  25. PIPSEC_AUTH_METHOD * ppAuthMethods,
  26. PDWORD pdwNumAuthInfos,
  27. PIPSEC_MM_AUTH_INFO * ppAuthenticationInfo
  28. );
  29. VOID
  30. PAFreeMMAuthMethods(
  31. PMM_AUTH_METHODS pSPDMMAuthMethods
  32. );
  33. VOID
  34. PAFreeMMAuthInfos(
  35. DWORD dwNumAuthInfos,
  36. PIPSEC_MM_AUTH_INFO pAuthenticationInfo
  37. );
  38. DWORD
  39. PADeleteAllMMAuthMethods(
  40. );
  41. VOID
  42. PAFreeMMAuthStateList(
  43. PMMAUTHSTATE pMMAuthState
  44. );
  45. PMMAUTHSTATE
  46. FindMMAuthState(
  47. GUID gMMAuthID
  48. );
  49. DWORD
  50. PADeleteMMAuthMethods(
  51. PIPSEC_NFA_DATA * ppIpsecNFAData,
  52. DWORD dwNumNFACount
  53. );
  54. DWORD
  55. PADeleteMMAuthMethod(
  56. GUID gMMAuthID
  57. );
  58. VOID
  59. PADeleteMMAuthState(
  60. PMMAUTHSTATE pMMAuthState
  61. );
  62. DWORD
  63. PADeleteInUseMMAuthMethods(
  64. );
  65. DWORD
  66. EncodeName(
  67. LPWSTR pszSubjectName,
  68. PBYTE * ppEncodedName,
  69. PDWORD pdwEncodedLength
  70. );