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.

24 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 regtistry
  16. Call this if you get a WM_BADREG back from BackgroundRegCheck.
  17. */
  18. BOOL SetRegValues(void);
  19. /* Ignore the registry check
  20. */
  21. BOOL IgnoreRegCheck(void);
  22.