Contents page

Index

RTEZRequest


AFReqTools/RTEZRequest

  NAME RTEZRequest()

ret = RTEZRequest(char *bodyfmt, char *gadfmt)

ret = RTEZRequest(char *bodyfmt, char *gadfmt, struct rtReqInfo *reqinfo, ULONG *taglist)

DESCRIPTION

INPUTS bodyfmt - requester body text, can be format string a la RawDoFmt() gadfmt - text for gadgets (left to right, separated by '|') or NULL - *WARNING* click here for information on passing NULL as gadfmt reqinfo - pointer to a rtReqInfo structure allocated with rtAllocRequest() or NULL

taglist - if using RTEZRequestA it expects to see a taglist of items for customizing the requester.

EXAMPLE: ULONG taglist[] = { ITEM1, ITEM2, ITEM3, ..., TAG_END };

NOTE See reqtools developer documentation for descriptions of tag items which can be used with RTEZRequestA

RESULT ret - 1 (TRUE) for leftmost (positive) response, then each consecutive response will return 1 more, the rightmost (false) response will return 0 (FALSE), so 1,2,3,...,num-1,0 -- or idcmp flag.

BUGS none known

SEE ALSO struct rtReqInfo