I do not using LockHardware now, becouse it HALT my system. It strange, look at this:
context=W3D_CreateContext(&CError,
W3D_CC_MODEID, MODEID,
W3D_CC_BITMAP, bm,
W3D_CC_YOFFSET, 0,
W3D_CC_DRIVERTYPE, W3D_DRIVER_BEST,
TAG_DONE);
line.v1.x=0;line.v1.y=0;
line.v2.x=100;line.v2.y=300;
res=W3D_LockHardware(context);
if(res==W3D_SUCCESS){printf("success\n");};
if(res==W3D_NOTVISIBLE){printf("bitmap problem\n");};
W3D_DrawLine(context,&line);
W3D_UnLockHardware(context);
Delay(100);
W3D_DestroyContext(context);
if i running it, i do not view my line, system HALT and only reboot can help

I do somethinks wrong ?
So, i using indirect mode now .. And can draw a line, but problem with W3D_Query. I mean i can draw line, but W3D_Query(context,W3D_Q_DRAW_LINE,W3D_FMT_CLUT); said me "w3d_not_supported". But next string is a W3D_DrawLine and it work

I am use Voodoo3 in my mediator on a1200. All samples from Warp4.2 working.