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.

73 lines
1.9 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. // All rights reserved.
  5. //
  6. // Module Name:
  7. //
  8. // oc.h
  9. //
  10. // Abstract:
  11. //
  12. // Common types, constants, and prototypes for the optional component pages
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifndef _OC_H_
  16. #define _OC_H_
  17. #include "setupmgr.h"
  18. #define MAX_PHONE_LENGTH 127
  19. #define MAX_KEYBOARD_LAYOUT 16
  20. #define MAX_LANGUAGE_LEN 64
  21. // needs to be global for communication between the two regional settings pages
  22. static TCHAR *StrSelectIndividualSettings;
  23. TCHAR g_szDefaultLocale[MAX_LANGUAGE_LEN];
  24. typedef struct languagegoup_node {
  25. struct languagegoup_node *next;
  26. TCHAR szLanguageGroupName[MAX_LANGUAGE_LEN];
  27. TCHAR szLanguageGroupId[MAX_LANGUAGE_LEN];
  28. TCHAR szLangFilePath[MAX_STRING_LEN];
  29. } LANGUAGEGROUP_NODE;
  30. typedef LANGUAGEGROUP_NODE LANGUAGEGROUP_LIST;
  31. typedef struct languagelocale_node {
  32. struct languagelocale_node *next;
  33. LANGUAGEGROUP_LIST *pLanguageGroup;
  34. TCHAR szLanguageLocaleName[MAX_LANGUAGE_LEN];
  35. TCHAR szLanguageLocaleId[MAX_LANGUAGE_LEN];
  36. TCHAR szKeyboardLayout[MAX_LANGUAGE_LEN];
  37. } LANGUAGELOCALE_NODE;
  38. typedef LANGUAGELOCALE_NODE LANGUAGELOCALE_LIST;
  39. typedef enum {
  40. TONE,
  41. PULSE,
  42. DONTSPECIFYSETTING
  43. } DIAL_TYPE;
  44. INT ShowBrowseFolder( IN HWND hwnd,
  45. IN TCHAR *szFileFilter,
  46. IN TCHAR *szFileExtension,
  47. IN DWORD dwFlags,
  48. IN TCHAR *szStartingPath,
  49. IN OUT TCHAR *szFileNameAndPath );
  50. VOID CopyFileToDistShare( IN HWND hwnd,
  51. IN LPTSTR szSrcPath,
  52. IN LPTSTR szSrcName,
  53. IN LPTSTR szDestPath );
  54. #endif // _OC_H_