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.

59 lines
2.1 KiB

  1. #define DONT_SHOW_UPDATES 0xdeadbeef
  2. #define SHOW_UPDATES 0xabaddeed
  3. typedef HRESULT (* FCLV_PREADDLISTITEM)(HWND hListView, int * count, CCifComponent_t *);
  4. extern PCOMPONENT g_paComp;
  5. extern PCOMPONENT g_pMNComp;
  6. extern TCHAR g_szIEAKProg[MAX_PATH];
  7. extern TCHAR g_szCifVer[MAX_PATH];
  8. extern TCHAR g_szCif[MAX_PATH];
  9. extern TCHAR g_szUpdateURL[MAX_URL];
  10. extern TCHAR g_szUpdateData[MAX_URL];
  11. extern UINT g_uiNumCabs;
  12. extern BOOL g_fOCW;
  13. extern HIMAGELIST s_hImgList;
  14. extern HWND s_hStat;
  15. extern int s_aiIcon[7];
  16. extern DWORD GetRootFree(LPCTSTR pcszPath);
  17. extern void updateCifVersions32(PCOMPONENT pComp, BOOL fIgnore, BOOL fUpdate);
  18. extern PCOMPONENT FindComp(LPCTSTR szID, BOOL fCore);
  19. extern INT_PTR CALLBACK ErrDlgProc (HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
  20. extern int DownloadErrMsg(HWND hWnd, LPTSTR szFilename, LPCTSTR lpTemplateName);
  21. extern HRESULT DownloadCab(HWND hDlg, LPTSTR szUrl, LPTSTR szFilename, LPCTSTR pcszDisplayname, int sComponent, BOOL &fIgnore);
  22. void InsertCommas(LPTSTR szIn);
  23. ATOM CreateIEAKUrl();
  24. void UpdateBlueIcon(HWND hCompList, PCOMPONENT pComp);
  25. void UpdateBrownIcon(HWND hCompList, PCOMPONENT pNewComp);
  26. HRESULT ProcessUpdateIcons(HWND hDlg);
  27. HRESULT CifComponentToPComponent(PCOMPONENT pComp, CCifComponent_t * pCifComponent_t);
  28. HRESULT DownloadUpdate(PCOMPONENT pComp);
  29. void InitAVSListView(HWND hCompList);
  30. HRESULT AssignComponentIcon(LPTSTR szInID, int pageNumber);
  31. HRESULT PreAddListItem(HWND hCompList, int * count, CCifComponent_t * pCifComp);
  32. int FillComponentsListView(HWND hCompList, LPCTSTR szCifPath, FCLV_PREADDLISTITEM pfnPreAddListItem);
  33. DWORD InitUpdateThreadProc(LPVOID lParam);
  34. DWORD UpdateDlg_InitDialog(HWND hDlg, LPTSTR ps_szFreeSpace, LPTSTR ps_szTotalSize);
  35. PCOMPONENT* UpdateDlg_GetDownloadList(HWND hDlg);
  36. void UpdateDlg_GetDownloadSize(HWND hCompList, HWND hStatusField, BOOL fAll);
  37. LRESULT CALLBACK HyperLinkWndProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
  38. INT_PTR CALLBACK UpdateDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);