pub unsafe extern "C" fn NvFBCToSysSetUp(
sessionHandle: NVFBC_SESSION_HANDLE,
pParams: *mut NVFBC_TOSYS_SETUP_PARAMS,
) -> NVFBCSTATUSExpand description
\brief Sets up a capture to system memory session.
This function configures how the capture to system memory should behave. It can be called anytime and several times after the capture session has been created. However, it must be called at least once prior to start capturing frames.
This function allocates the buffer that will contain the captured frame. The application does not need to free this buffer. The size of this buffer is returned in the ::NVFBC_FRAME_GRAB_INFO structure.
\param [in] sessionHandle FBC session handle. \param [in] pParams ::NVFBC_TOSYS_SETUP_PARAMS
\return ::NVFBC_SUCCESS \n ::NVFBC_ERR_INVALID_HANDLE \n ::NVFBC_ERR_API_VERSION \n ::NVFBC_ERR_BAD_REQUEST \n ::NVFBC_ERR_INTERNAL \n ::NVFBC_ERR_CONTEXT \n ::NVFBC_ERR_UNSUPPORTED \n ::NVFBC_ERR_INVALID_PTR \n ::NVFBC_ERR_INVALID_PARAM \n ::NVFBC_ERR_OUT_OF_MEMORY \n ::NVFBC_ERR_X