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.

48 lines
1.0 KiB

  1. /*
  2. * Copyright (c) 1996 1997, 1998 Philips CE I&C
  3. *
  4. * FILE PRPCTRL.H
  5. * DATE 7-1-97
  6. * VERSION 1.00
  7. * AUTHOR M.J. Verberne
  8. * DESCRIPTION Handle controls associated with
  9. * properties
  10. * HISTORY
  11. */
  12. #ifndef _PRPCTRL_
  13. #define _PRPCTRL_
  14. /*======================== DEFINES =======================================*/
  15. #define PRPCTRL_TYPE_SLIDER 0
  16. #define PRPCTRL_TYPE_CHECKBOX 1
  17. /*======================== DATA TYPES ====================================*/
  18. typedef struct PRPCTRL
  19. {
  20. BOOL PrpCtrlType;
  21. WORD PrpCtrl;
  22. WORD BuddyCtrl;
  23. WORD TextCtrl;
  24. GUID PropertySet;
  25. ULONG ulPropertyId;
  26. BOOL bReverse;
  27. char **BuddyStrings;
  28. LONG lMin;
  29. LONG lMax;
  30. } PRPCTRL_INFO;
  31. /*======================== EXPORTED FUNCTIONS =============================*/
  32. BOOL PRPCTRL_Init(
  33. HWND hDlg,
  34. PRPCTRL_INFO *pCtrl,
  35. BOOL bEnable);
  36. BOOL PRPCTRL_Enable(
  37. HWND hDlg,
  38. PRPCTRL_INFO *pCtrl,
  39. BOOL bEnable);
  40. BOOL PRPCTRL_Handle_Msg(
  41. HWND hDlg,
  42. PRPCTRL_INFO *pCtrl);
  43. #endif