formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

fzrt_pbuf_get_port

Description

This will get the pixel buffer pointer of the current port. The current port must be set by a call to fzrt_pbuf_set_port. Not all ports are pixel buffers, so this function can fail if the current port does not have a pixel buffer or if the current port was set through .

Plugin Prototype

fzrt_error_td fzrt_pbuf_get_port(

fzrt_pbuf_ptr *

pbuf_ptr )

Parameters

pbuf_ptr [Input]

pointer to a fzrt_pbuf_ptr that receives the current port's pixel buffer.

Returns

error id, FZRT_NOERR if successful

Availability

5.0.0.0

See Also

fzrt_pbuf_set_port

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h