ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
2-400
API Functions
601355 Rev A
VS_Table_
AddEntry
AddEntry
VS_Table_AddEntry
adds an entry to the specified table at
the first available location.
When a client adds an entry to a table using
VS_Table_AddEntry
, the client is responsible for
allocating and maintaining the space to contain the information
maintained in the table.
maintained in the table.
Synopsis
VST_BOOLEAN VS_Table_AddEntry
(VST_TABLE_HANDLE handle,
void * entry)
(VST_TABLE_HANDLE handle,
void * entry)
Arguments
•
handle
= Handle of the table where an entry is added.
•
entry
= Pointer to the data to be stored in the table.
Return Values
VS_Table_AddEntry
returns:
•
VSE_TRUE
- Successful execution.
•
VSE_FALSE
- API failure - An appropriate error code is set
in
VSG_Error.
•
VSE_ERR_BADENTRY
- Pointer to store was null.
•
VSE_ERR_BADHANDLE
- Specified handle was not a table
handle.
•
VSE_ERR_FULL
- The table is full and the entry could not
be added.
•
VSE_ERR_NULLHANDLE
- Specified handle was a null
pointer.