\hypertarget{a00569_source}{}\doxysection{AAX\+\_\+\+IData\+Buffer.\+h}
\label{a00569_source}\index{AAX\_IDataBuffer.h@{AAX\_IDataBuffer.h}}
\mbox{\hyperlink{a00569}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ Copyright\ 2023\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ All\ rights\ reserved.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ CONFIDENTIAL:\ this\ document\ contains\ confidential\ information\ of\ Avid.\ Do}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ not\ disclose\ to\ any\ third\ party.\ Use\ of\ the\ information\ contained\ in\ this}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ document\ is\ subject\ to\ an\ Avid\ SDK\ license.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00016\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#ifndef\ AAX\_IDataBuffer\_H}}
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#define\ AAX\_IDataBuffer\_H}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00656}{AAX\_IACFDataBuffer.h}}"{}}}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00533}{AAX.h}}"{}}}
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ "{}CACFUnknown.h"{}}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00566}{AAX\_UIDs.h}}"{}}}
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#include\ "{}acfextras.h"{}}}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00035\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a02205}{AAX\_IDataBuffer}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{a02021}{AAX\_IACFDataBuffer}}}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ,\ \textcolor{keyword}{public}\ CACFUnknown}
\DoxyCodeLine{00037\ \{}
\DoxyCodeLine{00038\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00039\ \ \ \ \ \mbox{\hyperlink{a02205_a442393f78a4260600decc5d4990c8502}{ACF\_DECLARE\_STANDARD\_UNKNOWN}}()}
\DoxyCodeLine{00040\ \ \ \ \ }
\DoxyCodeLine{00041\ \ \ \ \ ACFMETHOD(InternalQueryInterface)(const\ \mbox{\hyperlink{a01753}{acfIID}}\ \&\ riid,\ \textcolor{keywordtype}{void}\ **ppvObjOut)\ \mbox{\hyperlink{a02205_a95200d33b16c4a896e3f634bd5b7409d}{AAX\_OVERRIDE}}}
\DoxyCodeLine{00042\ \ \ \ \ \{}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (riid\ ==\ \mbox{\hyperlink{a00566_ab3efeb52530ecb5fd8fbc583500fb6e2}{IID\_IAAXDataBufferV1}})}
\DoxyCodeLine{00044\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ \ \ \ \ *ppvObjOut\ =\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a01757}{IACFUnknown}}\ *\textcolor{keyword}{>}(\textcolor{keyword}{this});}
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ \ \ \ \ (\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a01757}{IACFUnknown}}\ *\textcolor{keyword}{>}(*ppvObjOut))-\/>\mbox{\hyperlink{a01757_aa9c7a5b9dff341092b7b86bb9b3a58fb}{AddRef}}();}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ACF\_OK;}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ this-\/>CACFUnknown::InternalQueryInterface(riid,\ ppvObjOut);}
\DoxyCodeLine{00051\ \ \ \ \ \}}
\DoxyCodeLine{00052\ \ \ \ \ }
\DoxyCodeLine{00053\ \ \ \ \ \textcolor{comment}{//\ CACFUnknown\ does\ not\ support\ operator=()}}
\DoxyCodeLine{00054\ \ \ \ \ \mbox{\hyperlink{a02205_a2c50fc539cf5f53deb0acdae2bf562be}{AAX\_DELETE}}(\mbox{\hyperlink{a02205}{AAX\_IDataBuffer}}\&\ \textcolor{keyword}{operator}=\ (\textcolor{keyword}{const}\ \mbox{\hyperlink{a02205}{AAX\_IDataBuffer}}\&));}
\DoxyCodeLine{00055\ \};}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00057\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
