/*-----------------------------------------------------------
"Automatically generated by the EiffelCOM Wizard."
Added Record _SYSTEMTIME
	wYear: USHORT
	wMonth: USHORT
	wDayOfWeek: USHORT
	wDay: USHORT
	wHour: USHORT
	wMinute: USHORT
	wSecond: USHORT
	wMilliseconds: USHORT
	
-----------------------------------------------------------*/

#ifndef __ECOM_MS_TASKSCHED_LIB__SYSTEMTIME_IMPL_H__
#define __ECOM_MS_TASKSCHED_LIB__SYSTEMTIME_IMPL_H__

#include "eif_com.h"

#include "eif_eiffel.h"

#include "eif_setup.h"

#include "eif_macros.h"

#include "ecom_MS_TaskSched_lib__SYSTEMTIME.h"

#include "ecom_grt_globals_mstask_modified_idl_c.h"



#define ccom_x_systemtime_w_year(_ptr_) (EIF_INTEGER)(USHORT)(((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wYear)

#define ccom_x_systemtime_set_w_year(_ptr_, _field_) ((((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wYear) = (USHORT)_field_)

#define ccom_x_systemtime_w_month(_ptr_) (EIF_INTEGER)(USHORT)(((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wMonth)

#define ccom_x_systemtime_set_w_month(_ptr_, _field_) ((((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wMonth) = (USHORT)_field_)

#define ccom_x_systemtime_w_day_of_week(_ptr_) (EIF_INTEGER)(USHORT)(((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wDayOfWeek)

#define ccom_x_systemtime_set_w_day_of_week(_ptr_, _field_) ((((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wDayOfWeek) = (USHORT)_field_)

#define ccom_x_systemtime_w_day(_ptr_) (EIF_INTEGER)(USHORT)(((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wDay)

#define ccom_x_systemtime_set_w_day(_ptr_, _field_) ((((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wDay) = (USHORT)_field_)

#define ccom_x_systemtime_w_hour(_ptr_) (EIF_INTEGER)(USHORT)(((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wHour)

#define ccom_x_systemtime_set_w_hour(_ptr_, _field_) ((((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wHour) = (USHORT)_field_)

#define ccom_x_systemtime_w_minute(_ptr_) (EIF_INTEGER)(USHORT)(((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wMinute)

#define ccom_x_systemtime_set_w_minute(_ptr_, _field_) ((((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wMinute) = (USHORT)_field_)

#define ccom_x_systemtime_w_second(_ptr_) (EIF_INTEGER)(USHORT)(((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wSecond)

#define ccom_x_systemtime_set_w_second(_ptr_, _field_) ((((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wSecond) = (USHORT)_field_)

#define ccom_x_systemtime_w_milliseconds(_ptr_) (EIF_INTEGER)(USHORT)(((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wMilliseconds)

#define ccom_x_systemtime_set_w_milliseconds(_ptr_, _field_) ((((ecom_MS_TaskSched_lib::_SYSTEMTIME *)_ptr_)->wMilliseconds) = (USHORT)_field_)

#endif
