ioctl(ixj, IXJCTL_CID, PHONE_CID *pIXJ_CID)
Return Value
Returns TRUE if valid data is available, FALSE otherwise.
Parameters
A pointer to an IXJ_CID structure. On return, the structure will be filled.
typedef struct { char month[3]; char day[3]; char hour[3]; char min[3]; int numlen; char number[11]; int namelen; char name[80]; } PHONE_CID;
Remarks
Will fill in the caller id data structure passed in with the most recent caller ID data available. If this is called without valid data (determined by the CID exception bit) then the contents of the structure are undefined.
See Also:
Example:
PHONE_CID sCID; ioctl(ixj1, IXJCTL_CID, &sCID); printf("Caller ID data\n"); printf("%s, %s/%s %s:%s\n", sCID.number, sCID.month, sCID.day, sCID.hour, sCID.min); printf("%s\n", sCID.name);
©1996-2001 Quicknet Technologies, Inc.