libtiepie-hw 1.3.3
|
Functions common to all objects. More...
Functions | |
TIEPIE_HW_API void | tiepie_hw_object_close (tiepie_hw_handle handle) |
Close a object. | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_object_is_removed (tiepie_hw_handle handle) |
Check whether an object is removed. | |
TIEPIE_HW_API uint64_t | tiepie_hw_object_get_interfaces (tiepie_hw_handle handle) |
Check which interfaces are supported by the specified object. | |
Functions common to all objects.
These functions can be called with any handle.
TIEPIE_HW_API void tiepie_hw_object_close | ( | tiepie_hw_handle | handle | ) |
Close a object.
When closing a object, its handle becomes invalid and must not be used again.
[in] | handle | A handle identifying the object. |
TIEPIE_HW_STATUS_INVALID_HANDLE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API tiepie_hw_bool tiepie_hw_object_is_removed | ( | tiepie_hw_handle | handle | ) |
Check whether an object is removed.
[in] | handle | A handle identifying the object. |
TIEPIE_HW_STATUS_INVALID_HANDLE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API uint64_t tiepie_hw_object_get_interfaces | ( | tiepie_hw_handle | handle | ) |
Check which interfaces are supported by the specified object.
[in] | handle | A handle identifying the object. |
TIEPIE_HW_STATUS_INVALID_HANDLE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |