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.

62 lines
1.6 KiB

  1. #pragma once
  2. #ifndef _APMUPGRD_H
  3. #define _APMUPGRD_H
  4. /* ----------------------------------------------------------------------
  5. Copyright (c) 1998 Microsoft Corporation
  6. Module Name:
  7. apmupgrd.h
  8. Abstract:
  9. Header file for Windows NT APM upgrade DLL
  10. Author:
  11. Susan Dey : 17 June 98
  12. Revision History:
  13. ---------------------------------------------------------------------- */
  14. // Required Entry points
  15. BOOL WINAPI ApmUpgradeCompatibilityCheck(PCOMPAIBILITYCALLBACK CompatibilityCallback,
  16. LPVOID Context);
  17. DWORD WINAPI ApmUpgradeHandleHaveDisk(HWND hwndParent, LPVOID SaveValue);
  18. // Private Functions
  19. HRESULT HrDetectAPMConflicts();
  20. int DisplayAPMDisableWarningDialog(DWORD dwCaptionID, DWORD dwMessageID);
  21. HRESULT HrDetectAndDisableSystemSoftAPMDrivers();
  22. BOOL DetectSystemSoftPowerProfiler();
  23. HRESULT HrDisableSystemSoftPowerProfiler();
  24. BOOL DetectSystemSoftCardWizard();
  25. HRESULT HrDisableSystemSoftCardWizard();
  26. HRESULT HrDetectAndDisableAwardAPMDrivers();
  27. BOOL DetectAwardCardWare();
  28. HRESULT HrDisableAwardCardWare();
  29. HRESULT HrDetectAndDisableSoftexAPMDrivers();
  30. BOOL DetectSoftexPhoenix();
  31. HRESULT HrDisableSoftexPhoenix();
  32. HRESULT HrDetectAndDisableIBMAPMDrivers();
  33. BOOL DetectIBMDrivers();
  34. HRESULT HrDisableIBMDrivers();
  35. BOOL RemoveSubString(TCHAR* szString, TCHAR* szSubString, TCHAR** pszRemoved);
  36. LONG DeleteRegKeyAndSubkeys(HKEY hKey, LPTSTR lpszSubKey);
  37. HRESULT CallUninstallFunction(LPTSTR szRegKey, LPTSTR szSilentFlag);
  38. // Variables
  39. extern HINSTANCE g_hinst;
  40. extern TCHAR g_APM_ERROR_HTML_FILE[];
  41. extern TCHAR g_APM_ERROR_TEXT_FILE[];
  42. #endif // _APMUPGRD_H