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. /*******************************************************************************
  2. *
  3. * Copyright 1999 American Power Conversion, All Rights Reserved
  4. *
  5. * TITLE: UPSTAB.H
  6. *
  7. * VERSION: 1.0
  8. *
  9. * AUTHOR: PaulB
  10. *
  11. * DATE: 07 June, 1999
  12. *
  13. *******************************************************************************/
  14. #ifndef _UPSTAB_H_
  15. #define _UPSTAB_H_
  16. #include <windows.h>
  17. #include <tchar.h>
  18. #include <mmsystem.h>
  19. #include <commctrl.h>
  20. #include <initguid.h>
  21. #include <mstask.h>
  22. #include <help.h>
  23. #include <powercfp.h>
  24. #include "upsreg.h"
  25. #include "upsinfo.h"
  26. #include "upsselect.h"
  27. #include "upscommon.h"
  28. #include "upsconfig.h"
  29. #include "upscustom.h"
  30. #include "apcabout.h"
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34. INT_PTR CALLBACK UPSMainPageProc (HWND, UINT, WPARAM, LPARAM);
  35. HMODULE GetUPSModuleHandle (void);
  36. void GetURLInfo (LPTSTR aBuffer, DWORD aBufSize);
  37. DWORD GetMessageFromStringTable (DWORD aMessageID,
  38. LPVOID * alpDwords,
  39. LPTSTR aMessageBuffer,
  40. DWORD * aBufferSizePtr);
  41. void ConfigureService (BOOL aSetToAutoStartBool);
  42. BOOL IsUPSInstalled (void);
  43. BOOL DoUpdateInfo (HWND hDlg,
  44. DialogAssociations * aDialogAssociationsArray,
  45. DWORD aNumRunningFields,
  46. DWORD * aNoServiceControlIDs,
  47. DWORD aNumNoServiceControls,
  48. BOOL aChangeVisibilityBool);
  49. #ifdef __cplusplus
  50. }
  51. #endif
  52. #endif // _UPSTAB_H_