The InputCallback field is available for use only when the task object represents the current process. The referenced function will be called when process receives data from STDIN. The callback must follow the prototype Function(*Task, APTR Data, LONG Size, ERR Status)
The InputCallback field is available to the active task object only (i.e. the current process). The referenced function will be called when process receives data from STDIN. The callback must follow the prototype Function(*Task, APTR Data, LONG Size, ERR Status)
The information read from STDOUT will be returned in the Data
pointer and the byte-length of the data will be indicated by the Size
. The data buffer is temporary and will be invalid once the callback function has returned.
A status of ERR::Finished
is sent if the stdinput handle has been closed.
/dev/null
or the nearest equivalent for non-Unix systems./dev/null
or the nearest equivalent for non-Unix systems.This read-only field indicates the total number of stops that have been defined in the
/dev/null
or the nearest equivalent for non-Unix systems./dev/null
or the nearest equivalent for non-Unix systems.ScaleToDPI() is a convenience function for scaling any value to the active display's current DPI setting. The value that you provide must be fixed in relation to the system wide default of 96 DPI. If the display's DPI varies differs to that, your value will be scaled to match. For instance, an 8 point font at 96 DPI would be scaled to 20 points if the display was 240 DPI.
-If the DPI of the display is unknown, your value will be returned unscaled.
+ScaleToDPI() is a convenience function for scaling a value to the display's current DPI setting. The provided value must be relative to the system wide default of 96 DPI. If the display's DPI is not equal to 96, the value will be scaled to match. For instance, an 8 point font at 96 DPI would be scaled to 20 points if the display was 240 DPI.
+If the DPI of the display is unknown, the value will be returned unscaled.