Non object-oriented seamax api – Impulse 463E User Manual

Page 73

Advertising
background image

© Sealevel Systems, Inc.

- 70 -

SeaI/O User Manual

Non Object-Oriented SeaMAX API

The methods following methods have been created to ease use for those more
familiar with non-Object-Oriented or functional design. These functions use the
same parameters as their method counterparts and are used interchangeably.

Before using the functions below, SeaMaxW32Create() should first be called in
order to create a global SeaMAX object and return a pointer as a long data type.
Before the end of program execution, SeaMaxW32Destroy() should be called in
order to clean up the global memory space and release the SeaMAX object.

SeaMaxW32Create

SeaMaxW32Create( void )

Description

Creates an instance of the SeaMAX object in the global memory
space.

Parameters

None

Return Codes

> 0

Success – A long pointer to the SeaMAX
object.

SeaMaxW32Destroy

SeaMaxW32Destroy(CSeaMaxW32* SeaMaxPointer)

Description

Releases the globally allocated SeaMAX object.

Parameters

CSeaMaxW32* SeaMaxPointer

Return Codes

0 Success

Advertising