Source code of Windows XP (NT5)
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
804 B

  1. //
  2. // File: Database.h
  3. // By: Anthony V. DeMarco (ademar)
  4. // Date: 12/28/1999
  5. // Description: Contains the internal hotfix database data structures.
  6. // Copyright (c) Microsoft Corporation 1999-2000
  7. //
  8. typedef struct _FILELIST
  9. {
  10. _TCHAR FileName[255];
  11. _TCHAR CheckSum;
  12. struct _FILELIST * pPrev;
  13. struct _FILELIST * pNext;
  14. } * PFILELIST;
  15. typedef struct _HOTFIXLIST
  16. {
  17. _TCHAR HotfixName[255];
  18. struct _HOTFIXLIST * pPrev;
  19. struct _HOTFIXLIST * pNext;
  20. PFILELIST FileList;
  21. } * PHOTFIXLIST;
  22. typedef struct _ProductNode {
  23. _TCHAR ProductName[255];
  24. _ProductNode * pPrev;
  25. _ProductNode * pNext;
  26. PHOTFIXLIST HotfixList;
  27. } * PPRODUCT;
  28. PHOTFIXLIST GetHotfixInfo( _TCHAR * pszProductName, HKEY* hUpdateKey );
  29. PPRODUCT BuildDatabase(_TCHAR * lpszComputerName);
  30. PFILELIST GetFileInfo(HKEY* hHotfixKey);