Leaked source code of windows server 2003
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.
 
 
 
 
 
 

48 lines
1.3 KiB

/****************************************************************************
Copyright (c) 1998-1999 Microsoft Corporation
Module Name: tregupr2.h
Author: radus - 12/03/98
****************************************************************************/
// tregupr2.h - functions for converting the registry format to
// the new one (post NT5b2)
#ifdef __cplusplus
extern "C" {
#endif
// should be incremented any time there's a registry structure change
#define TAPI_CARD_LIST_VERSION 2
#define TAPI_LOCATION_LIST_VERSION 2
DWORD ConvertLocations(void);
DWORD ConvertUserLocations(HKEY hUser);
DWORD ConvertCallingCards(HKEY hUser);
DWORD RegDeleteKeyRecursive (HKEY hParentKey, LPCTSTR pszKeyName);
BOOL IsLocationListInOldFormat(HKEY hLocations); // for both user & machine
BOOL IsCardListInOldFormat(HKEY hCards);
DWORD TapiCryptInit();
void TapiCryptShutdown();
DWORD TapiCryptInitialize(void);
void TapiCryptUninitialize(void);
DWORD TapiEncrypt(PWSTR, DWORD, PWSTR, DWORD *);
DWORD TapiDecrypt(PWSTR, DWORD, PWSTR, DWORD *);
BOOL TapiIsSafeToDisplaySensitiveData(void);
#ifdef __cplusplus
}
#endif