Function nvfbc_sys::NvFBCCreateHandle
source · [−]pub unsafe extern "C" fn NvFBCCreateHandle(
pSessionHandle: *mut NVFBC_SESSION_HANDLE,
pParams: *mut NVFBC_CREATE_HANDLE_PARAMS
) -> NVFBCSTATUSExpand description
\brief Allocates a new handle for an NvFBC client.
This function allocates a session handle used to identify an FBC client.
This function implicitly calls NvFBCBindContext().
\param [out] pSessionHandle Pointer that will hold the allocated session handle. \param [in] pParams ::NVFBC_CREATE_HANDLE_PARAMS
\return ::NVFBC_SUCCESS \n ::NVFBC_ERR_INVALID_PTR \n ::NVFBC_ERR_API_VERSION \n ::NVFBC_ERR_INTERNAL \n ::NVFBC_ERR_OUT_OF_MEMORY \n ::NVFBC_ERR_MAX_CLIENTS \n ::NVFBC_ERR_X \n ::NVFBC_ERR_GLX \n ::NVFBC_ERR_GL