Writes data into an opened section of the Library Part under creation.
GSErrCode ACAPI_LibPart_WriteSection ( Int32 nByte, GSConstPtr data );
- [in] Number of bytes.
- [in] Data to be written.
- The function has completed with success.
- No section has been opened with the ACAPI_LibPart_NewSection function.
For other common API errors see the API Errors.
This function is used to write data into the section recently opened with ACAPI_LibPart_NewSection function.
It writes the given data (
nByte number of bytes addressed by
data) to the section recently opened with ACAPI_LibPart_NewSection function. If you write the data to a textual section, don’t forget to include the newline (+linefeed for Windows) character(s) in data.
See the example of the ACAPI_LibPart_Create function.
- Version: API 2.1 or later
- Header: ACAPinc.h
ACAPI_LibPart_NewSection, ACAPI_LibPart_EndSection, ACAPI_LibPart_Create,
LibPart Manager, API Functions