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.

45 lines
1.2 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 TapiCryptInitialize(void);
  21. void TapiCryptUninitialize(void);
  22. DWORD TapiEncrypt(PWSTR, DWORD, PWSTR, DWORD *);
  23. DWORD TapiDecrypt(PWSTR, DWORD, PWSTR, DWORD *);
  24. BOOL TapiIsSafeToDisplaySensitiveData(void);
  25. #ifdef __cplusplus
  26. }
  27. #endif