                   +----------------------------+
		   |	       WSleep 	        |
		   |				|
		   |	WSleep.DLL for win3.x   |
		   |	   with source code     |
                   |	Copyright XIE Yin 1995  |
                   |	All Rights Reserved     |
                   +----------------------------+

			It is a FREEWARE
			================


LIMITED WARRANTY
----------------

wsleep.dll and its source code are provided on an "as is" basis without
warranty of any kind, expressed or implied, including but not limited to
the implied warranties of merchantability and fitness for a particular
purpose.  Use this DLL library and its source code at your own risk.

Copyrights
----------

Windows is a trademark of Microsoft Corporation.
WSleep.DLL is copyrighted by Yin XIE. 

What is wsleep.dll
------------------

WSLEEP.DLL is a Windows 3.x Dynamic link library. It provides an useful
routine WSleep(). The purpose of WSleep() is to make current TASK sleep
during an amount of time (multiple of 1 miliseconds) without blocking
the windows.

How to use this library
-----------------------

BOOL	WSleep(UINT duration, UINT id);

duration :	the duration of the sleep in miliseconds.
id	 :	always 0. (value different from 0 will lead to UE)

returns  :	TRUE if the TASK effectively sleeped for the duration
		FALSE if an error has occured. 

How the routine WSleep() is programmed
--------------------------------------

Please read the source code to understand the internal.

Very important
==============

You are free to copy this package and distributed it to other users as
long as the archive file is distributed in its entirely with this file
(readme.txt) included in the archive.

If you decide to use this library or its source code, please just send me
a message via email or a Postcard of your country.

I provide the source code only for the "SOUVENIR" of the "OLD" 16bit
windows programming. Windows95 is coming!!!

Oh! I'am not a "native" Windows programmer, all comments are welcome.

Known bugs
----------

One windows application can only call WSleep() once at time. There are
no limitation for different applications, however, it is recommended to limit
its call, as the windows timers are global resources. I have limited the 
concurrent calls at 10.

How to contact the author
-------------------------

By Email:	Yin.XIE@synergie.fr

By postal mail :

		Yin XIE
		3, Rue de la mediterranee
		92160 ANTONY
		France

