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.

64 lines
1.6 KiB

  1. /*******************************************************************************
  2. *
  3. * Copyright 1999 American Power Conversion, All Rights Reserved
  4. *
  5. * TITLE: UPSSELECT.H
  6. *
  7. * VERSION: 1.0
  8. *
  9. * AUTHOR: SteveT
  10. *
  11. * DATE: 07 June, 1999
  12. *
  13. * DESCRIPTION:
  14. *******************************************************************************/
  15. #ifndef _UPS_SELECT_H_
  16. #define _UPS_SELECT_H_
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. /*
  21. * this structure is used to pass data between the Select
  22. * dialog and the Custom dialog.
  23. */
  24. struct _customData {
  25. LPTSTR lpszCurrentPort;
  26. LPDWORD lpdwCurrentCustomOptions;
  27. };
  28. /*
  29. * BOOL CALLBACK UPSSelectDlgProc (HWND hDlg,
  30. * UINT uMsg,
  31. * WPARAM wParam,
  32. * LPARAM lParam);
  33. *
  34. * Description: This is a standard DialogProc associated with the UPS select dialog
  35. *
  36. * Additional Information: See help on DialogProc
  37. *
  38. * Parameters:
  39. *
  40. * HWND hDlg :- Handle to dialog box
  41. *
  42. * UINT uMsg :- message ID
  43. *
  44. * WPARAM wParam :- Specifies additional message-specific information.
  45. *
  46. * LPARAM lParam :- Specifies additional message-specific information.
  47. *
  48. * Return Value: Except in response to the WM_INITDIALOG message, the dialog
  49. * box procedure should return nonzero if it processes the
  50. * message, and zero if it does not.
  51. */
  52. INT_PTR CALLBACK UPSSelectDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  53. #ifdef __cplusplus
  54. }
  55. #endif
  56. #endif // _UPS_SELECT_H_