scrmem_get_win_image()

Get the image metadata associated with a Screen memory handle

Synopsis:

#include <scrmem/scrmem.h>
const struct win_image * scrmem_get_win_image(const struct scrmem *scrmem)

Arguments:

scrmem
A Screen memory handle.

Library:

libscrmem

Description:

The scrmem_get_win_image() function gets the image metadata associated with a Screen memory handle. The returned pointer is valid until scrmem_close() and is valid while the destructor runs.

Returns:

A pointer to a win_image_t. This is never NULL if scrmem was obtained from scrmem_open().

Page updated: