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.
 
 
 
 
 
 

49 lines
1.0 KiB

/*
* Copyright (c) 1996 1997, 1998 Philips CE I&C
*
* FILE PRPCTRL.H
* DATE 7-1-97
* VERSION 1.00
* AUTHOR M.J. Verberne
* DESCRIPTION Handle controls associated with
* properties
* HISTORY
*/
#ifndef _PRPCTRL_
#define _PRPCTRL_
/*======================== DEFINES =======================================*/
#define PRPCTRL_TYPE_SLIDER 0
#define PRPCTRL_TYPE_CHECKBOX 1
/*======================== DATA TYPES ====================================*/
typedef struct PRPCTRL
{
BOOL PrpCtrlType;
WORD PrpCtrl;
WORD BuddyCtrl;
WORD TextCtrl;
GUID PropertySet;
ULONG ulPropertyId;
BOOL bReverse;
char **BuddyStrings;
LONG lMin;
LONG lMax;
} PRPCTRL_INFO;
/*======================== EXPORTED FUNCTIONS =============================*/
BOOL PRPCTRL_Init(
HWND hDlg,
PRPCTRL_INFO *pCtrl,
BOOL bEnable);
BOOL PRPCTRL_Enable(
HWND hDlg,
PRPCTRL_INFO *pCtrl,
BOOL bEnable);
BOOL PRPCTRL_Handle_Msg(
HWND hDlg,
PRPCTRL_INFO *pCtrl);
#endif