EssGGetRows

Retrieves data after an operation has been completed (EssGBegin, EssGSendRows, EssGPerformOperation, EssGGetResults).

Syntax

ESSG_FUNC_M EssGGetRows (hGrid, ulOptions, pRangeRequested,
pRangeOut, pppDataOut);
ParameterData TypeDescription

hGrid

ESSG_HGRID_T

Handle passed back from EssGNewGrid.

ulOptions

ESSG_ULONG_T

Reserved for future use. Should be set to zero.

pRangeRequested

ESSG_RANGE_T

Describes the extent of the data requested. This can be less than or equal to the number of rows and columns returned from the EssGGetResults call.

pRangeOut

ESSG_RANGE_T

Describes the extent of the data returned.

*pppDataOut

ESSG_DATA_T

The address of a two-dimensional array of data. The memory for this array is allocated by the API and should be freed by the caller using EssGFreeRows.

Notes

Return Value

If successful, returns ESSG_STS_NOERR.

Access

None.

Example

         sts = EssGGetRows(hGrid, 0, &rDataRangeOut, 
         &rDataRangeOut, &ppDataOut);

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

See Also