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.

30 lines
1.2 KiB

  1. /*-----------------------------------------------------------------------------+
  2. | FIXREG.H |
  3. | |
  4. | (C) Copyright Microsoft Corporation 1994. All rights reserved. |
  5. | |
  6. | Revision History |
  7. | 10-Aug-1994 Lauriegr Created. |
  8. | |
  9. +-----------------------------------------------------------------------------*/
  10. /* Call this with the hwnd that you want a WM_BADREG message posted to
  11. It will check the registry. No news is good news.
  12. It does the work on a separate thread, so this should return quickly.
  13. */
  14. void BackgroundRegCheck(HWND hwnd);
  15. /* Insert the good values into the registry
  16. Call this if you get a WM_BADREG back from BackgroundRegCheck.
  17. */
  18. BOOL SetRegValues(void);
  19. /*
  20. * Test if the app should ignore registry changes.
  21. */
  22. BOOL IgnoreRegCheck(void);
  23. /*
  24. * Fixup registry values to our known defaults.
  25. */
  26. void FixReg(HWND hwnd);