windows-nt/Source/XPSP1/NT/net/layer2svc/zeroconf/client/util.h

70 lines
1.4 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 2001
//
// File: U T I L. H
//
// Contents: Utility functions
//
//
//----------------------------------------------------------------------------
#include "precomp.h"
#pragma once
//
// EAPOL related funtions
//
DTLNODE* DtlCreateSizedNode( LONG, LONG_PTR );
VOID DtlDestroyNode( DTLNODE* );
DTLNODE* DtlAddNodeLast( DTLLIST*, DTLNODE* );
DTLNODE* DtlRemoveNode( DTLLIST*, DTLNODE* );
DTLLIST* DtlCreateList( LONG );
VOID
GetRegBinary(
IN HKEY hkey,
IN TCHAR* pszName,
OUT BYTE** ppbResult,
OUT DWORD* pcbResult);
VOID
GetRegDword(
IN HKEY hkey,
IN TCHAR* pszName,
OUT DWORD* pdwResult);
DWORD
GetRegExpandSz(
IN HKEY hkey,
IN TCHAR* pszName,
OUT TCHAR** ppszResult);
DWORD
GetRegSz(
IN HKEY hkey,
IN TCHAR* pszName,
OUT TCHAR** ppszResult);
DWORD
WZCGetEapUserInfo (
IN WCHAR *pwszGUID,
IN DWORD dwEapTypeId,
IN DWORD dwSizeOfSSID,
IN BYTE *pbSSID,
IN OUT PBYTE pbUserInfo,
IN OUT DWORD *pdwInfoSize
);
DWORD
WZCGetEapData (
IN DWORD dwEapType,
IN DWORD dwSizeOfIn,
IN BYTE *pbBufferIn,
IN DWORD dwOffset,
IN DWORD *pdwSizeOfOut,
IN PBYTE *ppbBufferOut
);