typedef struct _SYSTEMTIME {
WORD wYear;
WORD wMonth;
WORD wDayOfWeek;
WORD wDay;
WORD wHour;
WORD wMinute;
WORD wSecond;
WORD wMilliseconds;
} SYSTEMTIME, *PSYSTEMTIME;
the function used to fill these values with their correct data is
GetSystemTime() and GetLocalTime()
well what i want to do is use the same values used in this but use it in my own structure
struct Time
{
int hours;
int minutes;
int seconds;
};
how do i have my structure point the the values stored in wHour,wMinute,and wSecond??? im assumeing i will use the *PSYSTEMTIME pointer to this structure to do so....im just unsure how to use it..

New Topic/Question
Reply



MultiQuote




|