\section{dkc\-Buffer.c File Reference}
\label{dkcBuffer_8c}\index{dkcBuffer.c@{dkcBuffer.c}}
{\tt \#include \char`\"{}dkc\-Buffer.h\char`\"{}}\par
{\tt \#include \char`\"{}dkc\-Stdio.h\char`\"{}}\par


Include dependency graph for dkc\-Buffer.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=134pt]{dkcBuffer_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\bf DKC\_\-BUFFER} $\ast$WINAPI {\bf dkc\-Alloc\-Buffer} (const void $\ast$data, size\_\-t size)
\begin{CompactList}\small\item\em バッファ領域を得る。 \item\end{CompactList}\item 
int WINAPI {\bf dkc\-Free\-Buffer} ({\bf DKC\_\-BUFFER} $\ast$$\ast$ptr)
\begin{CompactList}\small\item\em {\bf dkc\-Alloc\-Buffer()}{\rm (p.\,\pageref{dkcBuffer_8c_a0})}で確保したリスト領域と内部バッファを削除。dkc\-Alloc\-Bufferと対。 \item\end{CompactList}\item 
int WINAPI {\bf dkc\-Buffer\-Set} ({\bf DKC\_\-BUFFER} $\ast$ptr, const void $\ast$data, size\_\-t size)
\item 
int WINAPI {\bf dkc\-Buffer\-Get} ({\bf DKC\_\-BUFFER} $\ast$ptr, void $\ast$data, size\_\-t size)
\item 
int WINAPI {\bf dkc\-Buffer\-Resize} ({\bf DKC\_\-BUFFER} $\ast$ptr, size\_\-t size)
\item 
{\bf DKC\_\-BUFFER} $\ast$WINAPI {\bf dkc\-Alloc\-Buffer\-Copy} (const {\bf DKC\_\-BUFFER} $\ast$ptr)
\end{CompactItemize}


\subsection{Detailed Description}
d金魚 \begin{Desc}
\item[Since:]2004/3/xx\end{Desc}


\subsection{Function Documentation}
\index{dkcBuffer.c@{dkc\-Buffer.c}!dkcAllocBuffer@{dkcAllocBuffer}}
\index{dkcAllocBuffer@{dkcAllocBuffer}!dkcBuffer.c@{dkc\-Buffer.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DKC\_\-BUFFER}$\ast$ WINAPI dkc\-Alloc\-Buffer (const void $\ast$ {\em data}, size\_\-t {\em size})}\label{dkcBuffer_8c_a0}


バッファ領域を得る。 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em data\mbox{[}in\mbox{]}}]バッファへコピーしたいデータへのポインタ \item[{\em size\mbox{[}in\mbox{]}}]バッファのサイズ（dataのサイズ） \end{description}
\end{Desc}
\index{dkcBuffer.c@{dkc\-Buffer.c}!dkcAllocBufferCopy@{dkcAllocBufferCopy}}
\index{dkcAllocBufferCopy@{dkcAllocBufferCopy}!dkcBuffer.c@{dkc\-Buffer.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DKC\_\-BUFFER}$\ast$ WINAPI dkc\-Alloc\-Buffer\-Copy (const {\bf DKC\_\-BUFFER} $\ast$ {\em ptr})}\label{dkcBuffer_8c_a5}


\index{dkcBuffer.c@{dkc\-Buffer.c}!dkcBufferGet@{dkcBufferGet}}
\index{dkcBufferGet@{dkcBufferGet}!dkcBuffer.c@{dkc\-Buffer.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int WINAPI dkc\-Buffer\-Get ({\bf DKC\_\-BUFFER} $\ast$ {\em ptr}, void $\ast$ {\em data}, size\_\-t {\em size})}\label{dkcBuffer_8c_a3}


\index{dkcBuffer.c@{dkc\-Buffer.c}!dkcBufferResize@{dkcBufferResize}}
\index{dkcBufferResize@{dkcBufferResize}!dkcBuffer.c@{dkc\-Buffer.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int WINAPI dkc\-Buffer\-Resize ({\bf DKC\_\-BUFFER} $\ast$ {\em ptr}, size\_\-t {\em size})}\label{dkcBuffer_8c_a4}


\index{dkcBuffer.c@{dkc\-Buffer.c}!dkcBufferSet@{dkcBufferSet}}
\index{dkcBufferSet@{dkcBufferSet}!dkcBuffer.c@{dkc\-Buffer.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int WINAPI dkc\-Buffer\-Set ({\bf DKC\_\-BUFFER} $\ast$ {\em ptr}, const void $\ast$ {\em data}, size\_\-t {\em size})}\label{dkcBuffer_8c_a2}


\index{dkcBuffer.c@{dkc\-Buffer.c}!dkcFreeBuffer@{dkcFreeBuffer}}
\index{dkcFreeBuffer@{dkcFreeBuffer}!dkcBuffer.c@{dkc\-Buffer.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int WINAPI dkc\-Free\-Buffer ({\bf DKC\_\-BUFFER} $\ast$$\ast$ {\em ptr})}\label{dkcBuffer_8c_a1}


{\bf dkc\-Alloc\-Buffer()}{\rm (p.\,\pageref{dkcBuffer_8c_a0})}で確保したリスト領域と内部バッファを削除。dkc\-Alloc\-Bufferと対。 

DKC\_\-BUFFERをデリート \begin{Desc}
\item[Note:]必ず使用したあとはこれを呼んでください。 \end{Desc}
