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.

62 lines
1.8 KiB

  1. #ifndef _CHECKINF_H_
  2. #define _CHECKINF_H_
  3. #include "Component.h"
  4. #include <setupapi.h>
  5. // Function prototype
  6. BOOL CheckCopyFiles(IN HINF hinfHandle,
  7. IN ComponentList *pclList);
  8. BOOL CheckExcludeRelationship(IN ComponentList *pclList);
  9. BOOL CheckIconIndex(IN HINF hinfHandle,
  10. IN ComponentList *pclList);
  11. BOOL CheckINF(IN TCHAR *tszDir,
  12. IN TCHAR *tszFilename);
  13. BOOL CheckNeedRelationship(IN ComponentList *pclList);
  14. BOOL CheckParentRelationship(IN ComponentList *pclList);
  15. BOOL CheckSuspicious(IN HINF hinfHandle,
  16. IN ComponentList *pclList);
  17. BOOL FillList(IN OUT HINF hinfHandle,
  18. IN OUT ComponentList *pclList,
  19. IN TCHAR *tszDir);
  20. BOOL CheckNeedCycles(IN Component *pcComponent,
  21. IN ComponentList *pclList);
  22. BOOL CheckParentCycles(IN Component *pcComponent,
  23. IN ComponentList *pclList);
  24. BOOL CheckSameId(IN ComponentList *pclList);
  25. BOOL CheckDescription(IN HINF hinfHandle,
  26. IN ComponentList *pclList);
  27. TCHAR *Strip(IN OUT TCHAR *tszString);
  28. BOOL CheckModes(IN HINF hinfHandle,
  29. IN ComponentList *pclList);
  30. BOOL CheckLayoutFile(IN TCHAR tszSubINFName[MaxStringSize][MaxStringSize],
  31. IN UINT uiNumComponents,
  32. IN TCHAR *tszDir);
  33. BOOL RecursiveCheckNeedCycles(IN Component *pcComponent,
  34. IN ComponentList *pclList,
  35. IN RelationList *prlStack);
  36. BOOL RecursiveCheckParentCycles(IN Component *pcComponent,
  37. IN ComponentList *pclList,
  38. IN RelationList *prlStack);
  39. #endif