formZ SDK | 5.0 API Reference | System | IO Streams

fz_iost_get_dir

Description

Gets the IO direction of an IO stream. Used to determine if an IO stream was created for read or write. The direction will be either FZ_IOST_READ or FZ_IOST_WRITE.

Plugin Prototype

fzrt_error_td fz_iost_get_dir(

fz_iost_ptr

iost,

fz_iost_dir_td_enum *

dir )

Parameters

iost [Input]

The IO stream.

dir [Result]

The direction.

Returns

FZRT_NOERR on success. Otherwise, an error code.

Availability

5.0.0.0

Function Set

fz_iost_fset


Defined in

fz_iost_api.h