11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

function is called repeatedly. No buffer is passed to the driver; instead, it getsNULL.This routine usually initializes the driver's global properties, allocates buffers,initializes virtual memory, opens files. However, it cannot perform tasks,especially if the initialization is performed for each array by AS_INIT_FUNC.Return value of 1 indicates success; 0 indicates failure–driver is not installed.AS_NMUSD_FUNCNot currently used. Function should return -1.AS_PDATA_FUNCAS_PDATA_FUNC expects a routine that is called when Panther wants toupdate offscreen data in the driver. The routine should save the contents ofthe attr, valids, and text members.Return value of 0 indicates success; -1 indicates failure.Note:The routine cannot assume that text is null-terminated; it should saveall len bytes of it.Input parameters (and their descriptions) are:scrolldataitemlentextattrvalidstextPointer to the driver's internal buffer.Occurrence number to save.Length of the occurrence.Buffer to get the text.Display attribute of the occurrence.Validation bits of the occurrence.Text to save.AS_RESET_FUNCAS_RESET_FUNC expects a routine to call when Panther terminates withsm_resetcrt. The routine can perform any desired final clean up, such asdeleting temporary files, freeing memory allocated in the INST function, andso on. The routine has no input or output parameters and returns no value. ItA-8 JAM Documentation: Alternative Scrolling

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!