SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API Functions SE CreateStore |
---|
extern SE_Return_Code | |||
SE_CreateStore | |||
( | |||
SE_Encoding | encoding, | (notes) | |
SE_Store | * | store_out_ptr | (notes) |
); |
Creates a store to be used by the API in returning data to the application.
A store is an opaque data type, created by this API call, that is used to
provide the memory context within which the API returns data. The
behavior of stores, and the data returned within them, exhibits the
following:
The implementation of the API is at liberty to decide the exact allocation
scheme. However, applications should safely expect the following
performance characteristics:
SE_RET_CODE_SUCCESS | and the SE_Store is created. |
SE_RET_CODE_FAILURE | and the status code is set appropriately if the call failed. |
SE_Status_Code(s) when SE_RET_CODE_SUCCESS is returned:
SE_STAT_CODE_SUCCESS | set if valid parameters were passed in and memory allocation for the store's management structure succeeded. |
SE_Status_Code(s) when SE_RET_CODE_FAILURE is returned:
SE_STAT_CODE_INACTIONABLE_FAILURE | set if the call failed for any reason. |
identifies the API implementation encoding to use when creating this store. If the specified API can't create the store, then the API will return a status code indicating why it could not be created. If encoding is NULL, then the API implementation encoding to be used must be statically bound at compile time. See also SE_GetEncoding().
a pointer to SE_Store from the user. The store will be created and associated with this handle.
Prev: SE_CreateSpatialSearchBoundary.
Next: SE_DetermineSpatialInclusion.
Up:Index.
|