aglStartWatch

Adds the specified array to the list of viewable arrays.

int aglStartWatch(
  pvoid array,
  size_t numbytes
  );

Parameters

array
Pointer to the data array that is to made viewable.

numbytes
Total number of bytes in array.

Return Value

Returns the value 0 if the call is successful; any other value indicates failure.

Remarks

Array Visualizer treats the allocated memory block as a one-dimensional array whose elements are of the type UCHAR. To change the structure or data type, call aglReshape.

To create an instance of Array Visualizer that displays the array, call aglShow using the pointer to the array. Use aglEndWatch to remove the instance of Array Visualizer from the list of viewable arrays.

See Also

aglEndWatch, aglReshape, aglShow