[ros-kernel] RosGetTimeFormat and GetTimeFormatA

tombrett-reactoskernel4718 at mailblocks.com tombrett-reactoskernel4718 at mailblocks.com
Mon Apr 12 11:52:22 CEST 2004


Hah!

I _WISH_  functions like this would return the actual value, as opposed 
to
the position of the pointer of the value in memory.

It would make life a WHOLE lot easier!

especially for sub-standard programming languages like V.B!!
Tom.



-----Original Message-----
From: Kohn Emil Dan <emild at cs.technion.ac.il>
To: ReactOS Kernel List <ros-kernel at reactos.com>
Sent: Mon, 12 Apr 2004 08:28:29 +0300 (IDT)
Subject: [ros-kernel] RosGetTimeFormat and GetTimeFormatA

Hello everybody,

I've been lurking on this project for some time, without contributing 
too
much. I'm amazed by the amount of progress you guys are doing. Keep on 
the
great work!

I want to contribute with a minor patch to the RosGetTimeFormat()  and
GetTimeFormatA() functions.

1) RosGetTimeFormat() has a small bug. The last statement should be

return nPos;

and not

return cchTime;


2) GetTimeFormatA() is not implemented. I have written an implementation
for it, which calls GetTimeFormatW(), and converts the string parameters
back and forth.

Both these contributions are included in the patch attached to this
message. Anyone caring to commit it?


							Regards,

								Emil

_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel


More information about the Ros-kernel mailing list