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.

60 lines
1.5 KiB

  1. /*****************************************************************************
  2. *
  3. * $Workfile: AddGetAd.h $
  4. *
  5. * Copyright (C) 1997 Hewlett-Packard Company.
  6. * Copyright (c) 1997 Microsoft Corporation.
  7. * All rights reserved.
  8. *
  9. * 11311 Chinden Blvd.
  10. * Boise, Idaho 83714
  11. *
  12. *****************************************************************************/
  13. #ifndef INC_ADDGETADDRESS_H
  14. #define INC_ADDGETADDRESS_H
  15. const int ADD_PORT_INFO_LEN = 512;
  16. // Global Variables
  17. extern HINSTANCE g_hInstance;
  18. class CGetAddrDlg
  19. {
  20. public:
  21. CGetAddrDlg();
  22. ~CGetAddrDlg();
  23. public:
  24. BOOL OnInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam);
  25. BOOL OnCommand(HWND hDlg, WPARAM wParam, LPARAM lParam);
  26. BOOL OnNotify(HWND hDlg, WPARAM wParam, LPARAM lParam);
  27. protected:
  28. BOOL OnEnUpdate(HWND hDlg, WPARAM wParam, LPARAM lParam);
  29. VOID OnNext(HWND hDlg);
  30. DWORD GetDeviceDescription(LPCTSTR pHost,
  31. LPTSTR pszPortDesc,
  32. DWORD cBytes);
  33. private:
  34. ADD_PARAM_PACKAGE *m_pParams;
  35. BOOL m_bDontAllowThisPageToBeDeactivated;
  36. CInputChecker m_InputChkr;
  37. }; // CGetAddrDlg
  38. #ifdef __cplusplus
  39. extern "C" {
  40. #endif
  41. // Dialogs
  42. INT_PTR CALLBACK GetAddressDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46. #endif // INC_ADDGETADDRESS_H