Define implementation functions  Calling conventions

Appendix C: Creating C Components

Implementation function return codes

Method implementation functions must return CS_RETCODE. Your implementation function can return the following values:

In general, you should return CS_SUCCEED unless a fatal error occurs. Returning CS_FAIL prevents the client stub from receiving output parameter values. Use an inout or output parameter if you need to communicate method status information to the client application.





Copyright © 2005. Sybase Inc. All rights reserved. Calling conventions

View this book as PDF