Contents page

Index

RTFileRequest


AFReqTools/RTFileRequest

  NAME RTFileRequest()

ret = RTFileRequest();

ret = RTFileRequestA(ULONG *)

DESCRIPTION Get a filename from the user.

'filename' should point to an array of at least 108 chars. The filename already in 'filename' will be displayed in the requester when it comes up. When the requester returns 'filename' will probably have changed.

Using certain tags may result in the calling of a caller-supplied hook.

The hook will be called with A0 holding the address of your hook structure (you may use the h_Data field to your own liking), A2 a pointer to the requester structure calling the hook ('req') and A1 a pointer to an object. The object is variable and depends on what your hook is for.

INPUTS If using RTFileRequestA 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 RTFileRequestA

RESULT TRUE if success FALSE if failure to open requester

BUGS none known

SEE ALSO RTFilesRequest m_filerequester m_filterhook m_volume_filterhook Hooks