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.

71 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. rcunicod.h
  5. Abstract:
  6. This is the header file for rcpp 16-bit unicode support. It contains
  7. the translatation table for codepage 1252. This was taken from the
  8. nls1252.txt file.
  9. Author:
  10. David J. Marsyla (t-davema) 25-Aug-1991
  11. Revision History:
  12. --*/
  13. #define IN
  14. #define OUT
  15. #define DFT_TEST_SIZE 250 // The number of bytes to test to get
  16. // an accurate determination of file type.
  17. //
  18. // The following may be retruned from DetermineFileType ().
  19. //
  20. #define DFT_FILE_IS_UNKNOWN 0 // File type not yet determined.
  21. #define DFT_FILE_IS_8_BIT 1 // File is an 8-bit ascii file.
  22. #define DFT_FILE_IS_16_BIT 2 // File is standard 16-bit unicode file.
  23. #define DFT_FILE_IS_16_BIT_REV 3 // File is reversed 16-bit unicode file.
  24. //
  25. // This function can be used to determine the format of a disk file.
  26. //
  27. INT
  28. DetermineFileType (
  29. IN PFILE fpInputFile
  30. );
  31. //
  32. // The following may be returned from DetermnineSysEndianType ().
  33. //
  34. #define DSE_SYS_LITTLE_ENDIAN 1 // Return values from determine system
  35. #define DSE_SYS_BIG_ENDIAN 2 // endian type.
  36. //
  37. // This function will return the endian type of the current system.
  38. //
  39. INT
  40. DetermineSysEndianType (
  41. VOID
  42. );
  43. //
  44. // This function converts command line arguments to Unicode buffer
  45. //
  46. WCHAR ** UnicodeCommandLine (
  47. int,
  48. char **
  49. );