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.

57 lines
1.5 KiB

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