Ring1_ByteBuffer_initialize
Initialize a Byte buffer.
Ring1_Result
Ring1_ByteBuffer_initialize
(
Ring1_ByteBuffer *byteBuffer
)
This function initializes an uninitialized Ring1_ByteBuffer
object.
Parameter variables
byteBuffer
- A pointer to an uninitialized
Ring1_ByteBuffer
object.
Post Conditions
If this function fails, then it sets the by-thread status variable.
Below is a list of failure conditions and the status codes indicating them.
Ring1_Status_InvalidArgument
byteBuffer
is a null pointerRing1_Status_AllocationFailed
- an allocation failed
If this function fails, byteBuffer
is not dereferenced.
If this function succeeds, the Ring1_ByteBuffer
object is initialized.
Return Values
Ring1_Result_Success
on success, Ring1_Result_Failure
on failure.