next up previous contents index
Next: FMPOpen Up: Push model functions Previous: FMPFlush   Contents   Index

FMPGetBuffer

This function gets a buffer for the memory Manager of the driver

DWORD FMPGetBuffer (PFMP_BUFFER pBuffer, BOOL bBlockingCall);

Arguments
PFMP_BUFFER pBuffer Pointer to a FMP_BUFFER structure:

BOOL bBlockingCall If set to TRUE and no more memory is avalailable in the Memory Manager, this call will block till some buffer gets freed up.

If set to FALSE, and no more memory is available in the Memory Manager, this call will return an error code.

ReturnValue
Returns a 32 bit unsigned value. Typical return values might include one of the following :

\begin{figure}\begin{tabular}{\vert l\vert l\vert}
\hline
FMPE\_OK & No error \\...
...ll the memory of the memory manager is used \\
\hline
\end{tabular}\end{figure}

See also
FMPPush for FMP_BUFFER declaration(1.7.4), Streaming Video.

Figure 1.62: FMPGetBuffer Operating Systems and Streaming Models
\begin{figure}\centering\begin{tabular}{\vert l\vert c\vert c\vert c\vert c\vert...
...bullet$& & & & \\
Linux & $\bullet$& & & & \\
\hline
\end{tabular}\end{figure}



Realmagic Build 2001-12-07