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.

51 lines
1.4 KiB

  1. #define ARRAYSIZE(s) (sizeof(s) / (sizeof(s[0])))
  2. #define SIZEOF(s) sizeof(s)
  3. #define IDS_HTML_HELP_DIR 101
  4. /*
  5. * Common utility functions
  6. */
  7. BOOL HasPath( LPTSTR pszFilename );
  8. int mystrcpy( LPTSTR pszOut, LPTSTR pszIn, TCHAR chTerm );
  9. /*
  10. * Conversion Routines
  11. */
  12. void CvtDeskCPL_Win95ToSUR( void );
  13. void CvtCursorsCPL_DaytonaToSUR( void );
  14. void FixupCursorSchemePaths( void );
  15. void FixWindowsProfileSecurity( void );
  16. void FixUserProfileSecurity( void );
  17. void FixPoliciesSecurity( void );
  18. void CvtCursorSchemesToMultiuser( void );
  19. void FixGradientColors( void );
  20. void UpgradeSchemesAndNcMetricsToWin2000( void );
  21. void UpgradeSchemesAndNcMetricsFromWin9xToWin2000(char *pszUserKey);
  22. void SetSystemBitOnCAPIDir(void);
  23. void FixHtmlHelp(void);
  24. void SetScreensaverOnFriendlyUI();
  25. void AddConfigurePrograms(void);
  26. EXTERN_C void UserConfigIE();
  27. EXTERN_C void UserConfigOE();
  28. EXTERN_C void ShowHideIE(BOOL fShow, BOOL fForceAssociations, BOOL fNonUpdateInstall);
  29. EXTERN_C void ShowHideOE(BOOL fShow, BOOL fForceAssociations, BOOL fNonUpdateInstall);
  30. EXTERN_C void ReinstallVM();
  31. EXTERN_C void FixupOptionalComponents();
  32. EXTERN_C void OCInstallUpdate();
  33. EXTERN_C void OCInstallCleanupInitiallyClear();
  34. #ifdef SHMG_DBG
  35. void Dprintf( LPTSTR pszFmt, ... );
  36. # define DPRINT(p) Dprintf p
  37. # define SHMG_DBG 1
  38. void SHMGLogErrMsg(char *szErrMsg, DWORD dwError);
  39. #else
  40. #define DPRINT(p)
  41. #define SHMGLogErrMsg(x, y)
  42. #endif