SE_rasterattr_set_callback

Sets the callback

Usage syntax

LONG SE_rasterattr_set_callback (SE_RASTERATTR handle, SE_RASTER_PROC callback, void *context);

Parameters

handle

The SE_RASTERATTR handle

callback

The pointer to an SE_RASTER_PROC structure

context

The context

Description

SE_rasterattr_set_callback sets the raster callback. The SE_RASTER_PROC structure is

typedef LONG (* SE_RASTER_PROC) (
                          void       *user_data,
                          void       **pixels,
                          LONG  *pixels_length,
                          void      **bitmask,
                          LONG *bitmask_length.);

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_RASTERATTR_OBJECT

SE_NET_FAILURE

SE_SDE_NOT_STARTED