int SpeedDialGetNumber(
int slot,
TCHAR *buf);
This function gets the phone number associated with a Speed Dial number. The function fills in the passed buf string with the phone number. If there is no such Speed Dial number, the function returns -1.
Include: contdb.goh
int SpeedDialGetRecord(
int slot,
RecordID *rid,
FieldID *fid);
This function returns the Contact and field corresponding to the passed Speed Dial number. If there is no such Speed Dial number, the function returns -1. This function takes the following arguments:
RecordID
buffer. The function will fill this in with the
RecordID
of the Contact record.
FieldID
buffer. The function will fill this buffer in with the
FieldID
of the contact's field with the selected phone number.Include: contdb.goh
int SpeedDialGetSlot(
RecordID rid,
FieldID fid);
This function gets the Speed Dial number for the Contact phone number represented by the passed
RecordID
and
FieldID
numbers. If there is no such Speed Dial number, the function returns -1.
Include: contdb.goh
int SpeedDialSetSlot(
int slot,
RecordID rid,
FieldID fid);
This function sets the Speed Dial number for the Contact phone number represented by the passed
RecordID
and
FieldID
numbers. If that Speed Dial slot was not previously empty, the function returns -1.
Include: contdb.goh
word SpoolConvertPaperSize(
word width, /* width of paper */
word height, /* height of paper */
PageType pageType); /* type of page */
This routine converts a width and height into a page size number.
Include: spool.goh
word SpoolCreatePaperSize( /* Returns zero if failed */
char *paperSizeString, /* descriptive name MAX_PAPER_STRING_LENGTH */
word width, /* width of paper */
word height, /* length of paper */
PageLayout laytout, /* page layout */
PageType pageType); /* page type */
This routine defines and stores a new paper size for later use by the user. If successful, it will return a number representing the new paper size, a value between 128 and 255; if not successful, it will return zero.
Include: spool.goh
word SpoolCreatePrinter( /* Returns printer number, or -1 if
there was an error */
char *printerName, /* name of printer */
PrinterDriverType type); /* device type */
Adds the printer to the list of currently installed printers and returns the new printer number. This routine is normally called from within the Preferences manager. If the routine returns 0xffff, then the printer already exists and thus could not be created.
Include: spool.goh
SpoolOpStatus SpoolDelayJob(
word JobID);
This routine moves a print job to the end of the print queue.
Boolean SpoolDeletePaperSize(
word paperSizeNum, /* size number to delete */
PageType pageType); /* page type */
This routine deletes a user-defined paper size. It will return true (i.e., non-zero) if there was an error.
Include: spool.goh
void SpoolDeletePrinter(
int prtrNum); /* printer number to delete */
Deletes the requested printer from the system.
Include: spool.goh
void SpoolGetDefaultPageSizeInfo(
PageSizeReport *psr);
This routine gets the dimensions of the system default page size.
Include: spool.goh
int SpoolGetDefaultPrinter(); /* Returns printer number */
Returns the system-default printer, which is used (for example) by the
PrintControlClass
as the default printer to print to.
Include: spool.goh
GEOS SDK TechDocs
|
|
SoundPlayToMusicStream() ...
|
SpoolGetNumPaperSizes() ...