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.

32 lines
616 B

  1. typedef struct _DRIVER_VER_DATA {
  2. char InfName[MAX_PATH];
  3. char SectionName[64];
  4. char DateString[11];
  5. char VersionString[20];
  6. int RawVersion [4];
  7. }DRIVER_VER_DATA, *PDRIVER_VER_DATA;
  8. BOOLEAN GetArgs (int argc, char **argv);
  9. BOOLEAN ValidateDate (char *datestring);
  10. BOOLEAN StampInf (VOID);
  11. VOID DisplayHelp (VOID);
  12. BOOLEAN ProcessNtVerP (char *VersionString);
  13. typedef enum _ARGTYPE {
  14. ArgSwitch,
  15. ArgFileName,
  16. ArgDate,
  17. ArgVersion,
  18. ArgSection
  19. } ARGTYPE;
  20. #define FOUND_NOTHING 0
  21. #define FOUND_SECTION 1
  22. #define FOUND_ENTRY 2