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.

87 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. configprop.c
  5. Abstract:
  6. Property sheet handler for "Configuration" page
  7. Environment:
  8. Fax driver user interface
  9. Revision History:
  10. 30/08/01 -Ishai Nadler-
  11. Created it.
  12. mm/dd/yy -author-
  13. description
  14. --*/
  15. #include <stdio.h>
  16. #include "faxui.h"
  17. #include "resource.h"
  18. INT_PTR
  19. CALLBACK
  20. ConfigOptionDlgProc(
  21. HWND hDlg,
  22. UINT uMsg,
  23. WPARAM wParam,
  24. LPARAM lParam
  25. )
  26. /*++
  27. Routine Description:
  28. Procedure for handling the "Fax Configuration option" tab
  29. Arguments:
  30. hDlg - Identifies the property sheet page
  31. uMsg - Specifies the message
  32. wParam - Specifies additional message-specific information
  33. lParam - Specifies additional message-specific information
  34. Return Value:
  35. Depends on the value of message parameter
  36. --*/
  37. {
  38. switch (uMsg)
  39. {
  40. case WM_INITDIALOG :
  41. return TRUE;
  42. case WM_NOTIFY :
  43. {
  44. LPNMHDR lpnm = (LPNMHDR) lParam;
  45. switch (lpnm->code)
  46. {
  47. case NM_CLICK:
  48. case NM_RETURN:
  49. if( IDC_CONFIG_FAX_LINK == lpnm->idFrom )
  50. {
  51. InvokeServiceManager(hDlg, g_hResource, IDS_ADMIN_CONSOLE_TITLE);
  52. }
  53. break;
  54. default:
  55. break;
  56. }//end of switch(lpnm->code)
  57. }
  58. }//end of switch(uMsg)
  59. return FALSE;
  60. } // ConfigOptionDlgProc