include vflatd.inc
mov dx, VflatD_End_Linear_Access ; Function number
call VFlatDApiProcAdr
jc errorhandler
mov AccessCount, eax
Stops linear access to the frame buffer. This function must be called the same number of times as VflatD_Begin_Linear_Access to leave linear mode.
The access count is incremented each time VflatD_Begin_Linear_Access is called, and is decremented with each call to VflatD_End_Linear_Access. Linear access mode is turned off when the access count is zero.
VflatD_Begin_Linear_Access