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.

78 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1990-2003 Microsoft Corporation
  3. All rights reserved
  4. Module Name:
  5. dialogs.h
  6. // @@BEGIN_DDKSPLIT
  7. Abstract:
  8. Environment:
  9. User Mode -Win32
  10. Revision History:
  11. // @@END_DDKSPLIT
  12. --*/
  13. #ifndef _DIALOGS_H_
  14. #define _DIALOGS_H_
  15. //
  16. // Use the window word of the entry field to store last valid entry
  17. //
  18. #define SET_LAST_VALID_ENTRY( hwnd, id, val ) \
  19. SetWindowLongPtr( GetDlgItem( hwnd, id ), GWLP_USERDATA, (LONG_PTR)val )
  20. #define GET_LAST_VALID_ENTRY( hwnd, id ) \
  21. GetWindowLongPtr( GetDlgItem( hwnd, id ), GWLP_USERDATA )
  22. BOOL
  23. PortNameInitDialog(
  24. HWND hwnd,
  25. PPORTDIALOG pPort
  26. );
  27. BOOL
  28. PortNameCommandOK(
  29. HWND hwnd
  30. );
  31. BOOL
  32. PortNameCommandCancel(
  33. HWND hwnd
  34. );
  35. BOOL
  36. ConfigureLPTPortInitDialog(
  37. HWND hwnd,
  38. PPORTDIALOG pPort
  39. );
  40. BOOL
  41. ConfigureLPTPortCommandOK(
  42. HWND hwnd
  43. );
  44. BOOL
  45. ConfigureLPTPortCommandCancel(
  46. HWND hwnd
  47. );
  48. BOOL
  49. ConfigureLPTPortCommandTransmissionRetryUpdate(
  50. HWND hwnd,
  51. WORD CtlId
  52. );
  53. BOOL
  54. LocalUIHelp(
  55. IN HWND hDlg,
  56. IN UINT uMsg,
  57. IN WPARAM wParam,
  58. IN LPARAM lParam
  59. );
  60. #endif // _DIALOGS_H_