\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp}{\section{trunk/bwapi/\-B\-W\-A\-P\-I\-\_\-\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.cpp \-File \-Reference}
\label{MPQDraftInjector_2source_2DLLMain_8cpp}\index{trunk/bwapi/\-B\-W\-A\-P\-I\-\_\-\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{trunk/bwapi/\-B\-W\-A\-P\-I\-\_\-\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
}
{\ttfamily \#include \char`\"{}\-M\-P\-Q\-Draft\-Plugin.\-h\char`\"{}}\*
{\ttfamily \#include $<$windows.\-h$>$}\*
{\ttfamily \#include $<$stdio.\-h$>$}\*
{\ttfamily \#include \char`\"{}../../svnrev.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}../../starcraftver.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}../../\-Debug.\-h\char`\"{}}\*
\-Include dependency graph for \-D\-L\-L\-Main.\-cpp\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{MPQDraftInjector_2source_2DLLMain_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classMPQDraftPluginInterface}{\-M\-P\-Q\-Draft\-Plugin\-Interface}
\end{DoxyCompactItemize}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_a8e83831b3135febd4121fcecd60ed6cb}{\-T\-H\-E\-P\-L\-U\-G\-I\-N\-I\-D}~0x10001000
\item 
\#define \hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_a2c63ae95fe7c6106ae1ec9c283afa486}{\-M\-O\-D\-U\-L\-E}~\char`\"{}\-B\-W\-A\-P\-I.\-dll\char`\"{}
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{Types_8h_a8aec363bdef0c755693c97d1757e8642}{\-D\-W\-O\-R\-D} \hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_a6897d9f1c8a9c2edc6c9c34d3669abfa}{\-Get\-Reg\-String} (\-H\-K\-E\-Y h\-Base\-Key, const char $\ast$psz\-Sub\-Key, const char $\ast$psz\-Value\-Name, char $\ast$psz\-Output, \hyperlink{Types_8h_a8aec363bdef0c755693c97d1757e8642}{\-D\-W\-O\-R\-D} $\ast$dw\-Out\-Size)
\item 
\hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_a1adfa4b7f93fff400277d30a97ca5ab5}{\-B\-W\-A\-P\-I\-Error} (\hyperlink{Types_8h_a8aec363bdef0c755693c97d1757e8642}{\-D\-W\-O\-R\-D} dw\-Err\-Code, const char $\ast$format,...)
\item 
\hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_a8e221b107539fa338411deb1bb924eb9}{\-B\-W\-A\-P\-I\-Error} (const char $\ast$format,...)
\item 
\hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_ad79058757ff36437d01d1cb76c58f491}{\-\_\-\-\_\-declspec} (dllexport) \hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \-A\-P\-I\-E\-N\-T\-R\-Y \hyperlink{TestAIModule_2Source_2Dll_8cpp_af8f88e9e7df8023b92e56fac8ce669a7}{\-Dll\-Main}(\-H\-I\-N\-S\-T\-A\-N\-C\-E \hyperlink{Detours_8h_aa1043089dd6b2925628b01cf0464f3ab}{h\-Instance}
\end{DoxyCompactItemize}
\subsection*{\-Variables}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_af743ce1002066a2692cffb7d1dfd0db4}{plugin\-\_\-name} = \char`\"{})\char`\"{}
\item 
\hyperlink{classMPQDraftPluginInterface}{\-M\-P\-Q\-Draft\-Plugin\-Interface} \hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_ad7bcf4a9e50b288942006bb627fd02cb}{the\-Plugin\-Interface}
\item 
\hyperlink{Types_8h_a8aec363bdef0c755693c97d1757e8642}{\-D\-W\-O\-R\-D} \hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_a206f15170b0eb49d3940dbd3103bc2d2}{ul\-\_\-reason\-\_\-for\-\_\-call}
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp_a2c63ae95fe7c6106ae1ec9c283afa486}{\index{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}!\-M\-O\-D\-U\-L\-E@{\-M\-O\-D\-U\-L\-E}}
\index{\-M\-O\-D\-U\-L\-E@{\-M\-O\-D\-U\-L\-E}!MPQDraftInjector/source/DLLMain.cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
\subsubsection[{\-M\-O\-D\-U\-L\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-M\-O\-D\-U\-L\-E}~\char`\"{}\-B\-W\-A\-P\-I.\-dll\char`\"{}}}\label{MPQDraftInjector_2source_2DLLMain_8cpp_a2c63ae95fe7c6106ae1ec9c283afa486}
\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp_a8e83831b3135febd4121fcecd60ed6cb}{\index{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}!\-T\-H\-E\-P\-L\-U\-G\-I\-N\-I\-D@{\-T\-H\-E\-P\-L\-U\-G\-I\-N\-I\-D}}
\index{\-T\-H\-E\-P\-L\-U\-G\-I\-N\-I\-D@{\-T\-H\-E\-P\-L\-U\-G\-I\-N\-I\-D}!MPQDraftInjector/source/DLLMain.cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
\subsubsection[{\-T\-H\-E\-P\-L\-U\-G\-I\-N\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-T\-H\-E\-P\-L\-U\-G\-I\-N\-I\-D}~0x10001000}}\label{MPQDraftInjector_2source_2DLLMain_8cpp_a8e83831b3135febd4121fcecd60ed6cb}


\subsection{\-Function \-Documentation}
\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp_ad79058757ff36437d01d1cb76c58f491}{\index{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}!\-\_\-\-\_\-declspec@{\-\_\-\-\_\-declspec}}
\index{\-\_\-\-\_\-declspec@{\-\_\-\-\_\-declspec}!MPQDraftInjector/source/DLLMain.cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
\subsubsection[{\-\_\-\-\_\-declspec}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-\_\-\-\_\-declspec} (
\begin{DoxyParamCaption}
\item[{dllexport}]{}
\end{DoxyParamCaption}
)}}\label{MPQDraftInjector_2source_2DLLMain_8cpp_ad79058757ff36437d01d1cb76c58f491}
\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp_a1adfa4b7f93fff400277d30a97ca5ab5}{\index{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}!\-B\-W\-A\-P\-I\-Error@{\-B\-W\-A\-P\-I\-Error}}
\index{\-B\-W\-A\-P\-I\-Error@{\-B\-W\-A\-P\-I\-Error}!MPQDraftInjector/source/DLLMain.cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
\subsubsection[{\-B\-W\-A\-P\-I\-Error}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} {\bf \-B\-W\-A\-P\-I\-Error} (
\begin{DoxyParamCaption}
\item[{{\bf \-D\-W\-O\-R\-D}}]{dw\-Err\-Code, }
\item[{const char $\ast$}]{format, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}\label{MPQDraftInjector_2source_2DLLMain_8cpp_a1adfa4b7f93fff400277d30a97ca5ab5}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=274pt]{MPQDraftInjector_2source_2DLLMain_8cpp_a1adfa4b7f93fff400277d30a97ca5ab5_cgraph}
\end{center}
\end{figure}


\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp_a8e221b107539fa338411deb1bb924eb9}{\index{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}!\-B\-W\-A\-P\-I\-Error@{\-B\-W\-A\-P\-I\-Error}}
\index{\-B\-W\-A\-P\-I\-Error@{\-B\-W\-A\-P\-I\-Error}!MPQDraftInjector/source/DLLMain.cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
\subsubsection[{\-B\-W\-A\-P\-I\-Error}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} {\bf \-B\-W\-A\-P\-I\-Error} (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{format, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}\label{MPQDraftInjector_2source_2DLLMain_8cpp_a8e221b107539fa338411deb1bb924eb9}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{MPQDraftInjector_2source_2DLLMain_8cpp_a8e221b107539fa338411deb1bb924eb9_cgraph}
\end{center}
\end{figure}


\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp_a6897d9f1c8a9c2edc6c9c34d3669abfa}{\index{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}!\-Get\-Reg\-String@{\-Get\-Reg\-String}}
\index{\-Get\-Reg\-String@{\-Get\-Reg\-String}!MPQDraftInjector/source/DLLMain.cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
\subsubsection[{\-Get\-Reg\-String}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-D\-W\-O\-R\-D} {\bf \-Get\-Reg\-String} (
\begin{DoxyParamCaption}
\item[{\-H\-K\-E\-Y}]{h\-Base\-Key, }
\item[{const char $\ast$}]{psz\-Sub\-Key, }
\item[{const char $\ast$}]{psz\-Value\-Name, }
\item[{char $\ast$}]{psz\-Output, }
\item[{{\bf \-D\-W\-O\-R\-D} $\ast$}]{dw\-Out\-Size}
\end{DoxyParamCaption}
)}}\label{MPQDraftInjector_2source_2DLLMain_8cpp_a6897d9f1c8a9c2edc6c9c34d3669abfa}


\subsection{\-Variable \-Documentation}
\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp_af743ce1002066a2692cffb7d1dfd0db4}{\index{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}!plugin\-\_\-name@{plugin\-\_\-name}}
\index{plugin\-\_\-name@{plugin\-\_\-name}!MPQDraftInjector/source/DLLMain.cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
\subsubsection[{plugin\-\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ {\bf plugin\-\_\-name} = \char`\"{})\char`\"{}}}\label{MPQDraftInjector_2source_2DLLMain_8cpp_af743ce1002066a2692cffb7d1dfd0db4}
\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp_ad7bcf4a9e50b288942006bb627fd02cb}{\index{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}!the\-Plugin\-Interface@{the\-Plugin\-Interface}}
\index{the\-Plugin\-Interface@{the\-Plugin\-Interface}!MPQDraftInjector/source/DLLMain.cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
\subsubsection[{the\-Plugin\-Interface}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-M\-P\-Q\-Draft\-Plugin\-Interface} {\bf the\-Plugin\-Interface}}}\label{MPQDraftInjector_2source_2DLLMain_8cpp_ad7bcf4a9e50b288942006bb627fd02cb}
\hypertarget{MPQDraftInjector_2source_2DLLMain_8cpp_a206f15170b0eb49d3940dbd3103bc2d2}{\index{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}!ul\-\_\-reason\-\_\-for\-\_\-call@{ul\-\_\-reason\-\_\-for\-\_\-call}}
\index{ul\-\_\-reason\-\_\-for\-\_\-call@{ul\-\_\-reason\-\_\-for\-\_\-call}!MPQDraftInjector/source/DLLMain.cpp@{\-M\-P\-Q\-Draft\-Injector/source/\-D\-L\-L\-Main.\-cpp}}
\subsubsection[{ul\-\_\-reason\-\_\-for\-\_\-call}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-D\-W\-O\-R\-D} {\bf ul\-\_\-reason\-\_\-for\-\_\-call}}}\label{MPQDraftInjector_2source_2DLLMain_8cpp_a206f15170b0eb49d3940dbd3103bc2d2}
