Function magma::magma_device_query

source ยท
pub unsafe extern "C" fn magma_device_query(
    device: magma_device_t,
    id: u64,
    result_buffer_out: *mut magma_handle_t,
    result_out: *mut u64,
) -> magma_status_t
Expand description

\brief Performs a query synchronously. On MAGMA_STATUS_OK, a given query |id| will return either a buffer in |result_buffer_out|, or a value in |result_out|. A NULL pointer may be provided for whichever result parameter is not needed. \param device An open device. \param id A vendor-specific ID. \param result_buffer_out Handle to the returned buffer. \param result_out Pointer to a uint64 result.