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.

39 lines
852 B

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name :
  4. parse.hxx
  5. Abstract:
  6. This class is used to parse a line in the inf file
  7. Author:
  8. Christopher Achille (cachille)
  9. Project:
  10. Internet Services Setup
  11. Revision History:
  12. June 2001: Created
  13. --*/
  14. // class: CParse
  15. //
  16. // This function defines the class that is used to parse a line from
  17. // an .inf, and call the appropriate functions. Here is an example .inf line:
  18. // Test(50,Hello World)?{IsWinNT()?Print(IsWinnt):Print(IsNotWinNt)}:Print(Failed Test)
  19. //
  20. class CParse {
  21. private:
  22. LPTSTR FindNextOccurance(LPTSTR szLine, TCHAR chTerminator );
  23. BOOL CallFunction(CFunctionDictionary *pDict, LPTSTR szLine);
  24. public:
  25. BOOL ParseLine(CFunctionDictionary *pDict, LPTSTR szLine);
  26. };