extended_create_region


handle extended_create_region(const xform* transform,
                              unsigned count,
                              const region_data* data)

This function creates a region given explicit region data.

Parameters

const xform* transform

A pointer to a transformation that is applied to the region. If null is specified, the identity transformation is used.

unsigned count

The size (in bytes) of the buffer pointed to by the next parameter.

const region_data* data

A pointer to a structure that contains the data for the region.

Return

handle

The handle of the new region or null if an error occurred.