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.

53 lines
3.9 KiB

  1. #include "stdafx.h"
  2. // Function Prototypes
  3. DWORD_PTR OC_WIZARD_CREATED_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  4. DWORD_PTR OC_FILE_BUSY_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  5. DWORD_PTR OC_PREINITIALIZE_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  6. DWORD_PTR OC_INIT_COMPONENT_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  7. DWORD_PTR OC_SET_LANGUAGE_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  8. DWORD_PTR OC_QUERY_IMAGE_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  9. #ifdef _WIN64
  10. DWORD_PTR OC_QUERY_IMAGE_EX_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  11. #endif
  12. DWORD_PTR OC_QUERY_STATE_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  13. DWORD_PTR OC_QUERY_CHANGE_SEL_STATE_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  14. DWORD_PTR OC_QUERY_SKIP_PAGE_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  15. DWORD_PTR OC_CALC_DISK_SPACE_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  16. DWORD_PTR OC_QUEUE_FILE_OPS_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  17. DWORD_PTR OC_NEED_MEDIA_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  18. DWORD_PTR OC_NOTIFICATION_FROM_QUEUE_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  19. DWORD_PTR OC_QUERY_STEP_COUNT_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  20. DWORD_PTR OC_ABOUT_TO_COMMIT_QUEUE_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  21. DWORD_PTR OC_COMPLETE_INSTALLATION_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  22. DWORD_PTR OC_CLEANUP_Func(IN LPCTSTR ComponentId,IN LPCTSTR SubcomponentId,IN UINT Function,IN UINT_PTR Param1,IN OUT PVOID Param2);
  23. void GetShortDesc(LPCTSTR SubcomponentId, LPTSTR szShortDesc);
  24. void StartInstalledServices(void);
  25. void SetIISSetupMode(DWORD dwSetupMode);
  26. void ParseCmdLine(void);
  27. void HandleMetabaseBeforeSetupStarts();
  28. DWORD HandleFileBusyOurSelf(PFILEPATHS pFilePath);
  29. DWORD RemoveComponent(IN LPCTSTR SubcomponentId, int iThePartToDo);
  30. int AtLeastOneComponentIsTurnedOn(IN HINF hInfFileHandle);
  31. void TestClusterRead(LPWSTR pszClusterName);
  32. void TestAfterInitApp(void);
  33. void SumUpProgressBarTickGauge(IN LPCTSTR SubcomponentId);
  34. void WINAPI IIS5Log(int iLogType, TCHAR *pszfmt);
  35. void WINAPI IIS5LogParmString(int iLogType, TCHAR *pszfmt, TCHAR *pszString);
  36. void WINAPI IIS5LogParmDword(int iLogType, TCHAR *pszfmt, DWORD dwErrorCode);
  37. int MigrateAllWin95Files(void);
  38. int HandleWin95MigrateDll(void);
  39. int GimmieOriginalWin95MetabaseBin(TCHAR * szReturnedFilePath);
  40. int GetTheRightWin95MetabaseFile(void);
  41. ACTION_TYPE GetIISCoreAction(int iLogResult);
  42. ACTION_TYPE GetSubcompAction(LPCTSTR SubcomponentId, int iLogResult);
  43. STATUS_TYPE GetSubcompInitStatus(LPCTSTR SubcomponentId);
  44. void StopAllServicesThatAreRelevant(int iShowErrorsFlag);
  45. void DisplayActionsForAllOurComponents(IN HINF hInfFileHandle);
  46. int CheckIfWeNeedToMoveMetabaseBin(void);
  47. BOOL ToBeInstalled(LPCTSTR ComponentId, LPCTSTR SubcomponentId);
  48. BOOL CheckandShowFatWarning( LPBOOL pbQuit );