W_PUTBLOCK(3)			WLIB-CALLS			W_PUTBLOCK(3)

NAME

	w_putblock()

SYPNOSIS

	#include <Wlib.h>

	short w_setblock(BITMAP *bm, short x0, short y0, short width,
			 short height, short handle, short x1, short y1);

	where BITMAP is declared as:

	typedef struct {
		short	width;
		short	height;
		short	wpl;
		short	planes;
		ushort	*data;
	} BITMAP;

DESCRIPTION

	 w_setblock() allows you to place a bitblock - either loaded from disc
	or by w_getblock() - into a window.

	 it does *not* automatically free the bitmap after using it.

RETURNS

	- zero if everything is ok

	- anything else otherwise

SEE ALSO

	wgetblock(2)

LAST CHANEGD

	12/94 by TeSche, itschere@techfak.uni-bielefeld.de
