windows-nt/Source/XPSP1/NT/net/rras/ras/ui/inc/pwutil.h
2020-09-26 16:20:57 +08:00

51 lines
788 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Copyright (c) 1993, Microsoft Corporation, all rights reserved
**
** ppputil.h
** Public header for miscellaneuos PPP common library functions.
*/
#ifndef _PWUTIL_H_
#define _PWUTIL_H_
VOID
DecodePasswordA(
CHAR* pszPassword
);
VOID
DecodePasswordW(
WCHAR* pszPassword
);
VOID
EncodePasswordA(
CHAR* pszPassword
);
VOID
EncodePasswordW(
WCHAR* pszPassword
);
VOID
WipePasswordA(
CHAR* pszPassword
);
VOID
WipePasswordW(
WCHAR* pszPassword
);
#ifdef UNICODE
#define DecodePassword DecodePasswordW
#define EncodePassword EncodePasswordW
#define WipePassword WipePasswordW
#else
#define DecodePassword DecodePasswordA
#define EncodePassword EncodePasswordA
#define WipePassword WipePasswordA
#endif
#endif // _PWUTIL_H_