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.

66 lines
1.4 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000
  5. //
  6. // File: ac_CTrayUi.h
  7. //
  8. // Contents: Home Networking Auto Config Tray Icon UI code
  9. //
  10. // Author: jeffsp 9/27/2000
  11. //
  12. //----------------------------------------------------------------------------
  13. #pragma once
  14. extern HWND g_hwndHnAcTray;
  15. LRESULT
  16. CALLBACK
  17. CHnAcTrayUI_WndProc (
  18. IN HWND hwnd, // window handle
  19. IN UINT uiMessage, // type of message
  20. IN WPARAM wParam, // additional information
  21. IN LPARAM lParam); // additional information
  22. LRESULT
  23. OnHnAcTrayWmNotify(
  24. IN HWND hwnd,
  25. IN WPARAM wParam,
  26. IN LPARAM lParam
  27. );
  28. LRESULT
  29. OnHnAcTrayWmTimer(
  30. IN HWND hwnd,
  31. IN WPARAM wParam,
  32. IN LPARAM lParam
  33. );
  34. HRESULT HrRunHomeNetworkWizard(
  35. IN HWND hwndOwner
  36. );
  37. LRESULT OnHnAcTrayWmCreate(
  38. IN HWND hwnd
  39. );
  40. LRESULT OnHnAcMyWMNotifyIcon(
  41. IN HWND hwnd,
  42. IN UINT uiMessage,
  43. IN WPARAM wParam,
  44. IN LPARAM lParam
  45. );
  46. HRESULT ac_CreateHnAcTrayUIWindow();
  47. LRESULT ac_DestroyHnAcTrayUIWindow();
  48. LRESULT ac_DeviceChange(IN HWND hWnd, IN UINT uMessage, IN WPARAM wParam, IN LPARAM lParam);
  49. HRESULT ac_Register(IN HWND hWindow);
  50. HRESULT ac_Unregister(IN HWND hWindow);