# EssGEndOperation

Description

EssGEndOperation() frees any internal resources used after the operation is complete and all rows have been returned.

Syntax

    ESSG_FUNC_M EssGEndOperation (hGrid, ulOptions);

ESSG_HGRID_T | hGrid
ESSG_ULONG_T | ulOptions

Parameters

hGrid | Handle passed back from EssGNewGrid.
ulOptions | Reserved for future use. Should be set to zero.

Return Value

If successful, returns ESSG_STS_NOERR.

Notes

- Frees any internal resources used after the operation is complete and all rows have been returned.
- This call is optional and can be made to free internal resources after an operation is complete. If you do not make this call, internal resources are freed when the next operation starts, or when the caller disconnects the grid, whichever comes first.

Access

None.

Example

        EssGEndOperation(hGrid, 0);

See an example that uses this code in the EssGBeginRetrieve Example section.

See Also

Using the Grid API Functions
Grid API Structures