![]() |
As defined in xcapi.h
| xerr xcClearSlots( | xhandle object, |
| xuint32 *slots, | |
| xuint32 count); |
Description:
Clears one or more slots in a container object, returning the slot(s) to an EMPTY state. No further event notification callbacks will be made for the content items previously associated with the slot(s), and the cleared slots will be immediately available for reuse. Note: to clear ALL slots in a container, pass in NULL for the slots parameter and 0 for the count.
Restrictions:
Parameters:
Returns:
An xerr type indicating the status of the operation.
Common error codes:
XSUCCESS The operation completed successfully.
XINVAL An invalid parameter was supplied.
XTHREAD Called from an invalid thread.
XBADSLOT Invalid slot number.
XNOTCONNECTED Session not connected.
XBADHANDLE Invalid handle.