/**
* Gets the first upload handle info corresponding to the state and NULL otherwise
*/
PUploadHandleInfo getStreamUploadInfoWithState(PKinesisVideoStream, UINT32);
/**
* Gets the upload handle info corresponding to the specified handle and NULL otherwise
*/
PUploadHandleInfo getStreamUploadInfo(PKinesisVideoStream, UPLOAD_HANDLE);
It seems that another function should be used.
https://github.com/awslabs/amazon-kinesis-video-streams-pic/blob/b12814a0347df7085d18b203f1ad03f3b5c48ef0/src/client/src/StreamEvent.c#L698