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.

33 lines
881 B

  1. /*++
  2. Copyright (C) 1999-2001 Microsoft Corporation
  3. Module Name:
  4. PREPROC.H
  5. Abstract:
  6. Implementation for the preprocessor.
  7. History:
  8. a-davj 6-april-99 Created.
  9. --*/
  10. #ifndef _PREPROC_H_
  11. #define _PREPROC_H_
  12. #define TEST_SIZE 20
  13. bool IsBMOFBuffer(byte * pTest, DWORD & dwCompressedSize, DWORD & dwExpandedSize);
  14. void WriteLineAndFilePragma(FILE * pFile, const char * pFileName, int iLine);
  15. void WriteLine(FILE * pFile, WCHAR * pLine);
  16. HRESULT WriteFileToTemp(const TCHAR * pFileName, FILE * pTempFile, CFlexArray & sofar, PDBG pDbg, CMofLexer*);
  17. void CheckForUnicodeEndian(FILE * fp, bool * punicode, bool * pbigendian);
  18. WCHAR * ReadLine(FILE * pFilebool,bool unicode, bool bigendian);
  19. WCHAR GetNextChar(FILE * pFile, bool unicode, bool bigendian);
  20. HRESULT IsInclude(WCHAR * pLine, TCHAR * cFileNameBuff, bool & bReturn);
  21. #endif