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.

validsOccurrence's validation bits; these are packed into aunique form.AS_GTSPC_FUNCAS_GTSPC_FUNC expects a routine that tells the driver the largest occurrence,or luid, that it must keep track of. Any buffers or resources currently allocatedfor keeping track of data above number occurrences can be freed.The return value is the number of occurrences it has resources allocated for.Usually, the return is the same as number.Input parameters (and their descriptions) are:scrolldatanumberPointer to the driver's internal buffer.New luid to use.AS_INIT_FUNCAS_INIT_FUNC expects a routine that is called when Panther starts handlingscrolling data for an array. The max_items and len parameters provide thedriver with approximately how much data the array can hold.Return value of 0 indicates success; -1 indicates failure.Input parameters (and their descriptions) are:max_itemslenMaximum number of occurrences in the array. If thevalue of max_items subsequently changes,Panther calls the AS_GTSPC_FUNC function toinform the driver of new limits.Maximum width of the text of each occurrence.Output parameter is scrolldata. Set to point to a driver-specific datastructure that keeps track of the data for the array. This value is associatedwith the array; all future calls to the scrolling driver that refer to this array getthe scrolldata value passed in the altsc_t structure.AS_INST_FUNCAS_INST_FUNC expects a routine that is called once when Panther starts up.If an application causes Panther to initialize and reset more than once, the<strong>Upgrade</strong> <strong>Guide</strong> A-7

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

Saved successfully!

Ooh no, something went wrong!