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.

57 lines
844 B

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. Billbrd.c
  6. Abstract:
  7. Code to put up a billboard saying printer drivers are getting upgraded.
  8. This lets the user know we are doing something and alive ..
  9. Author:
  10. Muhunthan Sivapragasam (MuhuntS) 02-Apr-1995
  11. Revision History:
  12. --*/
  13. #include "precomp.h"
  14. BOOL
  15. BillboardDlgProc(
  16. IN HWND hwnd,
  17. IN UINT uMsgId,
  18. IN WPARAM wParam,
  19. IN LPARAM lParam
  20. )
  21. {
  22. return FALSE;
  23. }
  24. HWND
  25. DisplayBillboard(
  26. IN HWND WindowToDisable
  27. )
  28. {
  29. HWND hwnd;
  30. return CreateDialog(ghInst,
  31. MAKEINTRESOURCE(IDD_BILLBOARD),
  32. WindowToDisable,
  33. BillboardDlgProc);
  34. }
  35. BOOL
  36. KillBillboard(
  37. IN HWND hwnd
  38. )
  39. {
  40. return DestroyWindow(hwnd);
  41. }