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.

69 lines
1.4 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2001
  5. //
  6. // File: U T I L. H
  7. //
  8. // Contents: Utility functions
  9. //
  10. //
  11. //----------------------------------------------------------------------------
  12. #include "precomp.h"
  13. #pragma once
  14. //
  15. // EAPOL related funtions
  16. //
  17. DTLNODE* DtlCreateSizedNode( LONG, LONG_PTR );
  18. VOID DtlDestroyNode( DTLNODE* );
  19. DTLNODE* DtlAddNodeLast( DTLLIST*, DTLNODE* );
  20. DTLNODE* DtlRemoveNode( DTLLIST*, DTLNODE* );
  21. DTLLIST* DtlCreateList( LONG );
  22. VOID
  23. GetRegBinary(
  24. IN HKEY hkey,
  25. IN TCHAR* pszName,
  26. OUT BYTE** ppbResult,
  27. OUT DWORD* pcbResult);
  28. VOID
  29. GetRegDword(
  30. IN HKEY hkey,
  31. IN TCHAR* pszName,
  32. OUT DWORD* pdwResult);
  33. DWORD
  34. GetRegExpandSz(
  35. IN HKEY hkey,
  36. IN TCHAR* pszName,
  37. OUT TCHAR** ppszResult);
  38. DWORD
  39. GetRegSz(
  40. IN HKEY hkey,
  41. IN TCHAR* pszName,
  42. OUT TCHAR** ppszResult);
  43. DWORD
  44. WZCGetEapUserInfo (
  45. IN WCHAR *pwszGUID,
  46. IN DWORD dwEapTypeId,
  47. IN DWORD dwSizeOfSSID,
  48. IN BYTE *pbSSID,
  49. IN OUT PBYTE pbUserInfo,
  50. IN OUT DWORD *pdwInfoSize
  51. );
  52. DWORD
  53. WZCGetEapData (
  54. IN DWORD dwEapType,
  55. IN DWORD dwSizeOfIn,
  56. IN BYTE *pbBufferIn,
  57. IN DWORD dwOffset,
  58. IN DWORD *pdwSizeOfOut,
  59. IN PBYTE *ppbBufferOut
  60. );