// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


#include "stdafx.h"
//#include "ytvclockalarm1.h"

// Dispatch interfaces referenced by this interface
#include "font.h"

/////////////////////////////////////////////////////////////////////////////
// CYtvClockAlarm

IMPLEMENT_DYNCREATE(CYtvClockAlarm, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CYtvClockAlarm properties

BOOL CYtvClockAlarm::GetSwitch12hours()
{
	BOOL result;
	GetProperty(0x1, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSwitch12hours(BOOL propVal)
{
	SetProperty(0x1, VT_BOOL, propVal);
}

long CYtvClockAlarm::GetTimeTickInterval()
{
	long result;
	GetProperty(0x2, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetTimeTickInterval(long propVal)
{
	SetProperty(0x2, VT_I4, propVal);
}

BOOL CYtvClockAlarm::GetRunClock()
{
	BOOL result;
	GetProperty(0x3, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetRunClock(BOOL propVal)
{
	SetProperty(0x3, VT_BOOL, propVal);
}

BOOL CYtvClockAlarm::Get_RunClock()
{
	BOOL result;
	GetProperty(0x0, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::Set_RunClock(BOOL propVal)
{
	SetProperty(0x0, VT_BOOL, propVal);
}

BOOL CYtvClockAlarm::GetAlarmMessageBox()
{
	BOOL result;
	GetProperty(0x4, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarmMessageBox(BOOL propVal)
{
	SetProperty(0x4, VT_BOOL, propVal);
}

BOOL CYtvClockAlarm::GetFlushControl()
{
	BOOL result;
	GetProperty(0x5, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetFlushControl(BOOL propVal)
{
	SetProperty(0x5, VT_BOOL, propVal);
}

long CYtvClockAlarm::GetNumberTimeFlashOnAlarm()
{
	long result;
	GetProperty(0x6, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetNumberTimeFlashOnAlarm(long propVal)
{
	SetProperty(0x6, VT_I4, propVal);
}

short CYtvClockAlarm::GetAppearance()
{
	short result;
	GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAppearance(short propVal)
{
	SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
}

short CYtvClockAlarm::GetBorderStyle()
{
	short result;
	GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetBorderStyle(short propVal)
{
	SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
}

BOOL CYtvClockAlarm::GetEnabled()
{
	BOOL result;
	GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetEnabled(BOOL propVal)
{
	SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
}

COleFont CYtvClockAlarm::GetFont()
{
	LPDISPATCH pDispatch;
	GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
	return COleFont(pDispatch);
}

void CYtvClockAlarm::SetFont(LPDISPATCH propVal)
{
	SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
}

OLE_HANDLE CYtvClockAlarm::GetHWnd()
{
	OLE_HANDLE result;
	GetProperty(DISPID_HWND, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetHWnd(OLE_HANDLE propVal)
{
	SetProperty(DISPID_HWND, VT_I4, propVal);
}

long CYtvClockAlarm::GetReadyState()
{
	long result;
	GetProperty(DISPID_READYSTATE, VT_I4, (void*)&result);
	return result;
}

CString CYtvClockAlarm::GetText()
{
	CString result;
	GetProperty(DISPID_TEXT, VT_BSTR, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetText(LPCTSTR propVal)
{
	SetProperty(DISPID_TEXT, VT_BSTR, propVal);
}

unsigned long CYtvClockAlarm::GetAlarmBackColor()
{
	unsigned long result;
	GetProperty(0x7, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarmBackColor(unsigned long propVal)
{
	SetProperty(0x7, VT_I4, propVal);
}

unsigned long CYtvClockAlarm::GetAlarmForeColor()
{
	unsigned long result;
	GetProperty(0x8, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarmForeColor(unsigned long propVal)
{
	SetProperty(0x8, VT_I4, propVal);
}

unsigned long CYtvClockAlarm::GetClockBackColor()
{
	unsigned long result;
	GetProperty(0x9, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetClockBackColor(unsigned long propVal)
{
	SetProperty(0x9, VT_I4, propVal);
}

unsigned long CYtvClockAlarm::GetClockForeColor()
{
	unsigned long result;
	GetProperty(0xa, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetClockForeColor(unsigned long propVal)
{
	SetProperty(0xa, VT_I4, propVal);
}

unsigned long CYtvClockAlarm::GetAlarmForeLineColor()
{
	unsigned long result;
	GetProperty(0xb, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarmForeLineColor(unsigned long propVal)
{
	SetProperty(0xb, VT_I4, propVal);
}

unsigned long CYtvClockAlarm::GetClockForeLineColor()
{
	unsigned long result;
	GetProperty(0xc, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetClockForeLineColor(unsigned long propVal)
{
	SetProperty(0xc, VT_I4, propVal);
}

unsigned long CYtvClockAlarm::GetAlarmBackLineColor()
{
	unsigned long result;
	GetProperty(0xd, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarmBackLineColor(unsigned long propVal)
{
	SetProperty(0xd, VT_I4, propVal);
}

unsigned long CYtvClockAlarm::GetClockBackLineColor()
{
	unsigned long result;
	GetProperty(0xe, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetClockBackLineColor(unsigned long propVal)
{
	SetProperty(0xe, VT_I4, propVal);
}

BOOL CYtvClockAlarm::GetShowSeconds()
{
	BOOL result;
	GetProperty(0xf, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetShowSeconds(BOOL propVal)
{
	SetProperty(0xf, VT_BOOL, propVal);
}

long CYtvClockAlarm::GetDigitColForeEdgeLength()
{
	long result;
	GetProperty(0x10, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetDigitColForeEdgeLength(long propVal)
{
	SetProperty(0x10, VT_I4, propVal);
}

BOOL CYtvClockAlarm::GetSwitch24hours()
{
	BOOL result;
	GetProperty(0x11, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSwitch24hours(BOOL propVal)
{
	SetProperty(0x11, VT_BOOL, propVal);
}

BOOL CYtvClockAlarm::GetShowAboutBox()
{
	BOOL result;
	GetProperty(0x12, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetShowAboutBox(BOOL propVal)
{
	SetProperty(0x12, VT_BOOL, propVal);
}

double CYtvClockAlarm::GetAlarm24hours()
{
	double result;
	GetProperty(0x13, VT_R8, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarm24hours(double propVal)
{
	SetProperty(0x13, VT_R8, propVal);
}

BOOL CYtvClockAlarm::GetDeleteAlarm24Hours()
{
	BOOL result;
	GetProperty(0x14, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetDeleteAlarm24Hours(BOOL propVal)
{
	SetProperty(0x14, VT_BOOL, propVal);
}

CString CYtvClockAlarm::GetAlarmName()
{
	CString result;
	GetProperty(0x15, VT_BSTR, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarmName(LPCTSTR propVal)
{
	SetProperty(0x15, VT_BSTR, propVal);
}

long CYtvClockAlarm::GetAlarmId()
{
	long result;
	GetProperty(0x16, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarmId(long propVal)
{
	SetProperty(0x16, VT_I4, propVal);
}

BOOL CYtvClockAlarm::GetVisible()
{
	BOOL result;
	GetProperty(0x17, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetVisible(BOOL propVal)
{
	SetProperty(0x17, VT_BOOL, propVal);
}

long CYtvClockAlarm::GetSizeX()
{
	long result;
	GetProperty(0x18, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSizeX(long propVal)
{
	SetProperty(0x18, VT_I4, propVal);
}

long CYtvClockAlarm::GetSizeY()
{
	long result;
	GetProperty(0x19, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSizeY(long propVal)
{
	SetProperty(0x19, VT_I4, propVal);
}

CString CYtvClockAlarm::GetFireBitmap()
{
	CString result;
	GetProperty(0x1a, VT_BSTR, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetFireBitmap(LPCTSTR propVal)
{
	SetProperty(0x1a, VT_BSTR, propVal);
}

long CYtvClockAlarm::GetControlId()
{
	long result;
	GetProperty(0x1b, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetControlId(long propVal)
{
	SetProperty(0x1b, VT_I4, propVal);
}

double CYtvClockAlarm::GetDateTime()
{
	double result;
	GetProperty(0x1c, VT_R8, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetDateTime(double propVal)
{
	SetProperty(0x1c, VT_R8, propVal);
}

long CYtvClockAlarm::GetAtAlarmFlashWindow()
{
	long result;
	GetProperty(0x1d, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAtAlarmFlashWindow(long propVal)
{
	SetProperty(0x1d, VT_I4, propVal);
}

long CYtvClockAlarm::GetAtAlarmFlashWindowNumberTimes()
{
	long result;
	GetProperty(0x1e, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAtAlarmFlashWindowNumberTimes(long propVal)
{
	SetProperty(0x1e, VT_I4, propVal);
}

long CYtvClockAlarm::GetAtAlarmSendMessage()
{
	long result;
	GetProperty(0x1f, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAtAlarmSendMessage(long propVal)
{
	SetProperty(0x1f, VT_I4, propVal);
}

long CYtvClockAlarm::GetAtAlarmSendMessageAtWindow()
{
	long result;
	GetProperty(0x20, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAtAlarmSendMessageAtWindow(long propVal)
{
	SetProperty(0x20, VT_I4, propVal);
}

BOOL CYtvClockAlarm::GetAnalogClock()
{
	BOOL result;
	GetProperty(0x21, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAnalogClock(BOOL propVal)
{
	SetProperty(0x21, VT_BOOL, propVal);
}

long CYtvClockAlarm::GetAlarmNumber()
{
	long result;
	GetProperty(0x22, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarmNumber(long propVal)
{
	SetProperty(0x22, VT_I4, propVal);
}

BOOL CYtvClockAlarm::GetDeleteAllAlarms()
{
	BOOL result;
	GetProperty(0x23, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetDeleteAllAlarms(BOOL propVal)
{
	SetProperty(0x23, VT_BOOL, propVal);
}

long CYtvClockAlarm::GetDeleteAlarm()
{
	long result;
	GetProperty(0x24, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetDeleteAlarm(long propVal)
{
	SetProperty(0x24, VT_I4, propVal);
}

BOOL CYtvClockAlarm::GetActivateCurAlarm()
{
	BOOL result;
	GetProperty(0x25, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetActivateCurAlarm(BOOL propVal)
{
	SetProperty(0x25, VT_BOOL, propVal);
}

long CYtvClockAlarm::GetFaceHandsType()
{
	long result;
	GetProperty(0x26, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetFaceHandsType(long propVal)
{
	SetProperty(0x26, VT_I4, propVal);
}

long CYtvClockAlarm::GetPlusMinusHours()
{
	long result;
	GetProperty(0x27, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetPlusMinusHours(long propVal)
{
	SetProperty(0x27, VT_I4, propVal);
}

long CYtvClockAlarm::GetFirstAlarmId()
{
	long result;
	GetProperty(0x28, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetFirstAlarmId(long propVal)
{
	SetProperty(0x28, VT_I4, propVal);
}

long CYtvClockAlarm::GetNextAlarmId()
{
	long result;
	GetProperty(0x29, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetNextAlarmId(long propVal)
{
	SetProperty(0x29, VT_I4, propVal);
}

long CYtvClockAlarm::GetFlashTimeInterval()
{
	long result;
	GetProperty(0x2a, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetFlashTimeInterval(long propVal)
{
	SetProperty(0x2a, VT_I4, propVal);
}

BOOL CYtvClockAlarm::GetDisplayAlarmTime()
{
	BOOL result;
	GetProperty(0x2b, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetDisplayAlarmTime(BOOL propVal)
{
	SetProperty(0x2b, VT_BOOL, propVal);
}

CString CYtvClockAlarm::GetAlarmMessage()
{
	CString result;
	GetProperty(0x2c, VT_BSTR, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetAlarmMessage(LPCTSTR propVal)
{
	SetProperty(0x2c, VT_BSTR, propVal);
}

BOOL CYtvClockAlarm::GetPlayAlarmSound()
{
	BOOL result;
	GetProperty(0x2d, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetPlayAlarmSound(BOOL propVal)
{
	SetProperty(0x2d, VT_BOOL, propVal);
}

CString CYtvClockAlarm::GetSoundFileName()
{
	CString result;
	GetProperty(0x2e, VT_BSTR, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSoundFileName(LPCTSTR propVal)
{
	SetProperty(0x2e, VT_BSTR, propVal);
}

long CYtvClockAlarm::GetSoundFlags()
{
	long result;
	GetProperty(0x2f, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSoundFlags(long propVal)
{
	SetProperty(0x2f, VT_I4, propVal);
}

BOOL CYtvClockAlarm::GetSayAlarmTime()
{
	BOOL result;
	GetProperty(0x30, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSayAlarmTime(BOOL propVal)
{
	SetProperty(0x30, VT_BOOL, propVal);
}

BOOL CYtvClockAlarm::GetSayAlarmName()
{
	BOOL result;
	GetProperty(0x31, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSayAlarmName(BOOL propVal)
{
	SetProperty(0x31, VT_BOOL, propVal);
}

BOOL CYtvClockAlarm::GetSayAlarmNumber()
{
	BOOL result;
	GetProperty(0x32, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSayAlarmNumber(BOOL propVal)
{
	SetProperty(0x32, VT_BOOL, propVal);
}

BOOL CYtvClockAlarm::GetDefaultSetting()
{
	BOOL result;
	GetProperty(0x33, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetDefaultSetting(BOOL propVal)
{
	SetProperty(0x33, VT_BOOL, propVal);
}

CString CYtvClockAlarm::GetSectionName()
{
	CString result;
	GetProperty(0x34, VT_BSTR, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSectionName(LPCTSTR propVal)
{
	SetProperty(0x34, VT_BSTR, propVal);
}

long CYtvClockAlarm::GetVolume()
{
	long result;
	GetProperty(0x35, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetVolume(long propVal)
{
	SetProperty(0x35, VT_I4, propVal);
}

long CYtvClockAlarm::GetSoundRate()
{
	long result;
	GetProperty(0x36, VT_I4, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSoundRate(long propVal)
{
	SetProperty(0x36, VT_I4, propVal);
}

CString CYtvClockAlarm::GetVoice()
{
	CString result;
	GetProperty(0x37, VT_BSTR, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetVoice(LPCTSTR propVal)
{
	SetProperty(0x37, VT_BSTR, propVal);
}

BOOL CYtvClockAlarm::GetSayMessageText()
{
	BOOL result;
	GetProperty(0x38, VT_BOOL, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetSayMessageText(BOOL propVal)
{
	SetProperty(0x38, VT_BOOL, propVal);
}

DATE CYtvClockAlarm::GetMaxTimeInterval()
{
	DATE result;
	GetProperty(0x39, VT_DATE, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetMaxTimeInterval(DATE propVal)
{
	SetProperty(0x39, VT_DATE, propVal);
}

short CYtvClockAlarm::GetPartOfSecondTick()
{
	short result;
	GetProperty(0x3a, VT_I2, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetPartOfSecondTick(short propVal)
{
	SetProperty(0x3a, VT_I2, propVal);
}

CString CYtvClockAlarm::GetProfileReg()
{
	CString result;
	GetProperty(0x3b, VT_BSTR, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetProfileReg(LPCTSTR propVal)
{
	SetProperty(0x3b, VT_BSTR, propVal);
}

short CYtvClockAlarm::GetProfTimer()
{
	short result;
	GetProperty(0x3c, VT_I2, (void*)&result);
	return result;
}

void CYtvClockAlarm::SetProfTimer(short propVal)
{
	SetProperty(0x3c, VT_I2, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CYtvClockAlarm operations

BOOL CYtvClockAlarm::SetAlarm(DATE DateTimeStart, long AlarmId, DATE DateTimeEnd)
{
	BOOL result;
	static BYTE parms[] =
		VTS_DATE VTS_I4 VTS_DATE;
	InvokeHelper(0x3d, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		DateTimeStart, AlarmId, DateTimeEnd);
	return result;
}

BOOL CYtvClockAlarm::GetAlarm(DATE* DateTimeStart, long AlarmId, DATE* DateTimeEnd)
{
	BOOL result;
	static BYTE parms[] =
		VTS_PDATE VTS_I4 VTS_PDATE;
	InvokeHelper(0x3e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		DateTimeStart, AlarmId, DateTimeEnd);
	return result;
}

BOOL CYtvClockAlarm::GetActivateAlarm(long AlarmId)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x56, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		AlarmId);
	return result;
}

void CYtvClockAlarm::SetActivateAlarm(long AlarmId, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I4 VTS_BOOL;
	InvokeHelper(0x56, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 AlarmId, bNewValue);
}

void CYtvClockAlarm::Refresh()
{
	InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CYtvClockAlarm::DoClick()
{
	InvokeHelper(DISPID_DOCLICK, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CYtvClockAlarm::TextOut(LPCTSTR Text, short pos_x, short pos_y, unsigned long ForeColor, unsigned long BackColor)
{
	static BYTE parms[] =
		VTS_BSTR VTS_I2 VTS_I2 VTS_I4 VTS_I4;
	InvokeHelper(0x3f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 Text, pos_x, pos_y, ForeColor, BackColor);
}

BOOL CYtvClockAlarm::GetRegistryChanged(LPCTSTR Path)
{
	BOOL result;
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x57, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		Path);
	return result;
}

void CYtvClockAlarm::SetRegistryChanged(LPCTSTR Path, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_BSTR VTS_BOOL;
	InvokeHelper(0x57, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 Path, bNewValue);
}

BOOL CYtvClockAlarm::GetShowAlarmTime(long AlarmId, long AlarmNumber)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x58, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		AlarmId, AlarmNumber);
	return result;
}

void CYtvClockAlarm::SetShowAlarmTime(long AlarmId, long AlarmNumber, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_BOOL;
	InvokeHelper(0x58, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 AlarmId, AlarmNumber, bNewValue);
}

BOOL CYtvClockAlarm::GetAlarmData(long ListNumber, long* AlarmId, long* AlarmNumber, BSTR* AlarmName, DATE* AlarmTimeDate)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4 VTS_PI4 VTS_PI4 VTS_PBSTR VTS_PDATE;
	InvokeHelper(0x59, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		ListNumber, AlarmId, AlarmNumber, AlarmName, AlarmTimeDate);
	return result;
}

void CYtvClockAlarm::SetAlarmData(long ListNumber, long* AlarmId, long* AlarmNumber, BSTR* AlarmName, DATE* AlarmTimeDate, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I4 VTS_PI4 VTS_PI4 VTS_PBSTR VTS_PDATE VTS_BOOL;
	InvokeHelper(0x59, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 ListNumber, AlarmId, AlarmNumber, AlarmName, AlarmTimeDate, bNewValue);
}

BOOL CYtvClockAlarm::CreateMessageTextBoxDialog()
{
	BOOL result;
	InvokeHelper(0x40, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

BOOL CYtvClockAlarm::StartPlayAlarmSound()
{
	BOOL result;
	InvokeHelper(0x41, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

BOOL CYtvClockAlarm::CancelPlayAlarmSound()
{
	BOOL result;
	InvokeHelper(0x42, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

long CYtvClockAlarm::GetRepeatSoundTimesWithInterval(long* IntervalTimeMls)
{
	long result;
	static BYTE parms[] =
		VTS_PI4;
	InvokeHelper(0x5a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		IntervalTimeMls);
	return result;
}

void CYtvClockAlarm::SetRepeatSoundTimesWithInterval(long* IntervalTimeMls, long nNewValue)
{
	static BYTE parms[] =
		VTS_PI4 VTS_I4;
	InvokeHelper(0x5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 IntervalTimeMls, nNewValue);
}

BOOL CYtvClockAlarm::SetSoundPropertiesDial()
{
	BOOL result;
	InvokeHelper(0x43, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

void CYtvClockAlarm::SayTextString(LPCTSTR TextString)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x44, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 TextString);
}

void CYtvClockAlarm::SayTextFile(LPCTSTR FileName)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x45, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 FileName);
}

BOOL CYtvClockAlarm::GetSetting()
{
	BOOL result;
	InvokeHelper(0x46, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

BOOL CYtvClockAlarm::WriteSetting()
{
	BOOL result;
	InvokeHelper(0x47, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

BOOL CYtvClockAlarm::SetVoiceDial()
{
	BOOL result;
	InvokeHelper(0x48, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

long CYtvClockAlarm::GetChangeTimeInterval(long AlarmId, long AlarmNumber)
{
	long result;
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x5b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		AlarmId, AlarmNumber);
	return result;
}

void CYtvClockAlarm::SetChangeTimeInterval(long AlarmId, long AlarmNumber, long nNewValue)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x5b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 AlarmId, AlarmNumber, nNewValue);
}

long CYtvClockAlarm::GetResetTimeAlarm(long AlarmId)
{
	long result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x5c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		AlarmId);
	return result;
}

void CYtvClockAlarm::SetResetTimeAlarm(long AlarmId, long nNewValue)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x5c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 AlarmId, nNewValue);
}

long CYtvClockAlarm::GetTimeSpanAlarm(long AlarmId, long AlarmNumber)
{
	long result;
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x49, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		AlarmId, AlarmNumber);
	return result;
}

long CYtvClockAlarm::WriteProfileReg()
{
	long result;
	InvokeHelper(0x4a, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
	return result;
}

long CYtvClockAlarm::ReadProfileReg()
{
	long result;
	InvokeHelper(0x4b, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
	return result;
}

BOOL CYtvClockAlarm::SetDeleteAlarmDial(long* pAlarmId, long* pAlarmNumber, LPCTSTR pAlrmName, BOOL* pDeleteAllAlarms, BOOL* pDeleteAlarmGroup, BOOL* pDeleteAlarm)
{
	BOOL result;
	static BYTE parms[] =
		VTS_PI4 VTS_PI4 VTS_BSTR VTS_PBOOL VTS_PBOOL VTS_PBOOL;
	InvokeHelper(0x4c, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		pAlarmId, pAlarmNumber, pAlrmName, pDeleteAllAlarms, pDeleteAlarmGroup, pDeleteAlarm);
	return result;
}

long CYtvClockAlarm::SetTimeShiftDial(long TimeShift)
{
	long result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x4d, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		TimeShift);
	return result;
}

BOOL CYtvClockAlarm::ExportSettings(LPCTSTR szFileName)
{
	BOOL result;
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x4e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		szFileName);
	return result;
}

BOOL CYtvClockAlarm::ImportSettings(LPCTSTR szFileName)
{
	BOOL result;
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x4f, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		szFileName);
	return result;
}

short CYtvClockAlarm::GetHandsLengths(short nHandNumber)
{
	short result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x5d, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
		nHandNumber);
	return result;
}

void CYtvClockAlarm::SetHandsLengths(short nHandNumber, short nNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I2;
	InvokeHelper(0x5d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 nHandNumber, nNewValue);
}

float CYtvClockAlarm::GetFloatHandsLenghts(short shHandNumber)
{
	float result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x5e, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, parms,
		shHandNumber);
	return result;
}

void CYtvClockAlarm::SetFloatHandsLenghts(short shHandNumber, float newValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_R4;
	InvokeHelper(0x5e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 shHandNumber, newValue);
}

BOOL CYtvClockAlarm::GetStartTime(short Hour, short Minutes, short Seconds, short Milliseconds)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2 VTS_I2 VTS_I2 VTS_I2;
	InvokeHelper(0x5f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		Hour, Minutes, Seconds, Milliseconds);
	return result;
}

void CYtvClockAlarm::SetStartTime(short Hour, short Minutes, short Seconds, short Milliseconds, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I2 VTS_I2 VTS_I2 VTS_BOOL;
	InvokeHelper(0x5f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 Hour, Minutes, Seconds, Milliseconds, bNewValue);
}

short CYtvClockAlarm::GetNumberTicksSections(short HandNumber)
{
	short result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x60, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
		HandNumber);
	return result;
}

void CYtvClockAlarm::SetNumberTicksSections(short HandNumber, short nNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I2;
	InvokeHelper(0x60, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 HandNumber, nNewValue);
}

long CYtvClockAlarm::GetQuantTimeForATickSectionMilSec(short HandNumber)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		HandNumber);
	return result;
}

void CYtvClockAlarm::SetQuantTimeForATickSectionMilSec(short HandNumber, long nNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I4;
	InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 HandNumber, nNewValue);
}

long CYtvClockAlarm::GetTimerColors(short shColorNumber)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x62, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		shColorNumber);
	return result;
}

void CYtvClockAlarm::SetTimerColors(short shColorNumber, long nNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I4;
	InvokeHelper(0x62, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 shColorNumber, nNewValue);
}

BOOL CYtvClockAlarm::SetLengthsHandsStripesWidths(BOOL bModeless)
{
	BOOL result;
	static BYTE parms[] =
		VTS_BOOL;
	InvokeHelper(0x50, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		bModeless);
	return result;
}

BOOL CYtvClockAlarm::SetTimeSpansDial(BOOL bModeless)
{
	BOOL result;
	static BYTE parms[] =
		VTS_BOOL;
	InvokeHelper(0x51, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		bModeless);
	return result;
}

long CYtvClockAlarm::GetListSettingsSectionsNames(BSTR* ListNames)
{
	long result;
	static BYTE parms[] =
		VTS_PBSTR;
	InvokeHelper(0x52, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		ListNames);
	return result;
}

BOOL CYtvClockAlarm::DeleteSection(LPCTSTR szSectionName)
{
	BOOL result;
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x53, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		szSectionName);
	return result;
}

BOOL CYtvClockAlarm::MakeSectionListDial(BOOL bModeless)
{
	BOOL result;
	static BYTE parms[] =
		VTS_BOOL;
	InvokeHelper(0x54, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		bModeless);
	return result;
}

long CYtvClockAlarm::CtrlInvalidate()
{
	long result;
	InvokeHelper(0x55, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
	return result;
}

void CYtvClockAlarm::AboutBox()
{
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
