\hypertarget{a00578_source}{}\doxysection{AAX\+\_\+\+IData\+Buffer.\+h}
\label{a00578_source}\index{AAX\_IDataBuffer.h@{AAX\_IDataBuffer.h}}
\mbox{\hyperlink{a00578}{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-\/2024\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ All\ rights\ reserved.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ This\ file\ is\ part\ of\ the\ Avid\ AAX\ SDK.}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ The\ AAX\ SDK\ is\ subject\ to\ commercial\ or\ open-\/source\ licensing.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ By\ using\ the\ AAX\ SDK,\ you\ agree\ to\ the\ terms\ of\ both\ the\ Avid\ AAX\ SDK\ License}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *\ Agreement\ and\ Avid\ Privacy\ Policy.}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ AAX\ SDK\ License:\ https://developer.avid.com/aax}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ Privacy\ Policy:\ https://www.avid.com/legal/privacy-\/policy-\/statement}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ Or:\ You\ may\ also\ use\ this\ code\ under\ the\ terms\ of\ the\ GPL\ v3\ (see}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ www.gnu.org/licenses).}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ THE\ AAX\ SDK\ IS\ PROVIDED\ "{}AS\ IS"{}\ WITHOUT\ ANY\ WARRANTY,\ AND\ ALL\ WARRANTIES,\ WHETHER}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ EXPRESSED\ OR\ IMPLIED,\ INCLUDING\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ PURPOSE,\ ARE}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ DISCLAIMED.}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00029\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#ifndef\ AAX\_IDataBuffer\_H}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#define\ AAX\_IDataBuffer\_H}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00668}{AAX\_IACFDataBuffer.h}}"{}}}
\DoxyCodeLine{00037\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00542}{AAX.h}}"{}}}
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\#include\ "{}CACFUnknown.h"{}}}
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00575}{AAX\_UIDs.h}}"{}}}
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#include\ "{}acfextras.h"{}}}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00048\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a02226}{AAX\_IDataBuffer}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{a02038}{AAX\_IACFDataBuffer}}}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ,\ \textcolor{keyword}{public}\ CACFUnknown}
\DoxyCodeLine{00050\ \{}
\DoxyCodeLine{00051\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00052\ \ \ \ \ \mbox{\hyperlink{a02226_a442393f78a4260600decc5d4990c8502}{ACF\_DECLARE\_STANDARD\_UNKNOWN}}()}
\DoxyCodeLine{00053\ \ \ \ \ }
\DoxyCodeLine{00054\ \ \ \ \ ACFMETHOD(InternalQueryInterface)(const\ \mbox{\hyperlink{a01766}{acfIID}}\ \&\ riid,\ \textcolor{keywordtype}{void}\ **ppvObjOut)\ \mbox{\hyperlink{a02226_a95200d33b16c4a896e3f634bd5b7409d}{AAX\_OVERRIDE}}}
\DoxyCodeLine{00055\ \ \ \ \ \{}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (riid\ ==\ \mbox{\hyperlink{a00575_ab3efeb52530ecb5fd8fbc583500fb6e2}{IID\_IAAXDataBufferV1}})}
\DoxyCodeLine{00057\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \ \ \ \ *ppvObjOut\ =\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a01770}{IACFUnknown}}\ *\textcolor{keyword}{>}(\textcolor{keyword}{this});}
\DoxyCodeLine{00059\ \ \ \ \ \ \ \ \ \ \ \ \ (\ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a01770}{IACFUnknown}}\ *\textcolor{keyword}{>}(*ppvObjOut))-\/>\mbox{\hyperlink{a01770_aa9c7a5b9dff341092b7b86bb9b3a58fb}{AddRef}}();}
\DoxyCodeLine{00060\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ACF\_OK;}
\DoxyCodeLine{00061\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00062\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00063\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ this-\/>CACFUnknown::InternalQueryInterface(riid,\ ppvObjOut);}
\DoxyCodeLine{00064\ \ \ \ \ \}}
\DoxyCodeLine{00065\ \ \ \ \ }
\DoxyCodeLine{00066\ \ \ \ \ \textcolor{comment}{//\ CACFUnknown\ does\ not\ support\ operator=()}}
\DoxyCodeLine{00067\ \ \ \ \ \mbox{\hyperlink{a02226_a2c50fc539cf5f53deb0acdae2bf562be}{AAX\_DELETE}}(\mbox{\hyperlink{a02226}{AAX\_IDataBuffer}}\&\ \textcolor{keyword}{operator}=\ (\textcolor{keyword}{const}\ \mbox{\hyperlink{a02226}{AAX\_IDataBuffer}}\&));}
\DoxyCodeLine{00068\ \};}
\DoxyCodeLine{00069\ }
\DoxyCodeLine{00070\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
