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

  1. /****************************************************************************
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name: tregupr2.h
  4. Author: radus - 12/03/98
  5. ****************************************************************************/
  6. // tregupr2.h - functions for converting the registry format to
  7. // the new one (post NT5b2)
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. // should be incremented any time there's a registry structure change
  12. #define TAPI_CARD_LIST_VERSION 2
  13. #define TAPI_LOCATION_LIST_VERSION 2
  14. DWORD ConvertLocations(void);
  15. DWORD ConvertUserLocations(HKEY hUser);
  16. DWORD ConvertCallingCards(HKEY hUser);
  17. DWORD RegDeleteKeyRecursive (HKEY hParentKey, LPCTSTR pszKeyName);
  18. BOOL IsLocationListInOldFormat(HKEY hLocations); // for both user & machine
  19. BOOL IsCardListInOldFormat(HKEY hCards);
  20. DWORD TapiCryptInit();
  21. void TapiCryptShutdown();
  22. DWORD TapiCryptInitialize(void);
  23. void TapiCryptUninitialize(void);
  24. DWORD TapiEncrypt(PWSTR, DWORD, PWSTR, DWORD *);
  25. DWORD TapiDecrypt(PWSTR, DWORD, PWSTR, DWORD *);
  26. BOOL TapiIsSafeToDisplaySensitiveData(void);
  27. #ifdef __cplusplus
  28. }
  29. #endif