Function leap_sys::LeapGetFrameSizeEx
source · [−]pub unsafe extern "C" fn LeapGetFrameSizeEx(
hConnection: LEAP_CONNECTION,
hDevice: LEAP_DEVICE,
timestamp: i64,
pncbEvent: *mut u64
) -> eLeapRS
Expand description
\ingroup Functions Retrieves the number of bytes required to allocate an interpolated frame at the specified time for a particular device.
Use this function to determine the size of the buffer to allocate when calling LeapInterpolateFrameEx(). @param hConnection The connection handle created by LeapCreateConnection(). @param hDevice A device handle returned by LeapOpenDevice(). @param timestamp The timestamp of the frame whose size is to be queried. @param[out] pncbEvent A pointer that receives the number of bytes required to store the specified frame. @returns The operation result code, a member of the eLeapRS enumeration. @since 5.4.0