\hypertarget{WMode_8cpp}{\section{trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-W\-Mode.cpp \-File \-Reference}
\label{WMode_8cpp}\index{trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-W\-Mode.\-cpp@{trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-W\-Mode.\-cpp}}
}
{\ttfamily \#include \char`\"{}\-W\-Mode.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Resolution.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-B\-W/\-Offsets.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-B\-W\-A\-P\-I/\-Game\-Impl.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Config.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Recording.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}../../\-Debug.\-h\char`\"{}}\*
\-Include dependency graph for \-W\-Mode.\-cpp\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{WMode_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{WMode_8cpp_a377a5dc6bb914fe9294cdffd2be32bca}{\-B\-O\-O\-L} (\-W\-I\-N\-A\-P\-I $\ast$\-\_\-\-Get\-Cursor\-Pos\-Old)(\-L\-P\-P\-O\-I\-N\-T lp\-Point)
\item 
\hyperlink{WMode_8cpp_aac23fe10d253a778d46f61a50af83e0e}{\-B\-O\-O\-L} (\-S\-T\-O\-R\-M\-A\-P\-I $\ast$\-\_\-\-S\-Draw\-Lock\-Surface\-Old)(\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} surfacenumber
\item 
void \hyperlink{WMode_8cpp_a962808196ed14fec6c48d7f79ca990fe}{\-Initialize\-W\-Mode\-Bitmap} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} width, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} height)
\item 
void \hyperlink{WMode_8cpp_af84993a516d1a1e37856d551ddaefa9e}{\-Get\-Border\-Rect} (\hyperlink{Detours_8h_a79aa3df76a82595f71d6ec65659ad8f1}{\-H\-W\-N\-D} h\-Wnd, \-L\-P\-R\-E\-C\-T \hyperlink{WMode_8h_a753cf54b9e386e9f87c7910e3519f46d}{lp\-Rect})
\item 
void \hyperlink{WMode_8cpp_a7f7f511667ef2cf1a95ff2e33ad1ce11}{\-Get\-Border\-Size} (\hyperlink{Detours_8h_a79aa3df76a82595f71d6ec65659ad8f1}{\-H\-W\-N\-D} h\-Wnd, \-L\-P\-S\-I\-Z\-E lp\-Size)
\item 
\-L\-P\-A\-R\-A\-M \hyperlink{WMode_8cpp_a3027ff22de66478a22debcd83ebd8650}{\-Fix\-Points} (\-L\-P\-A\-R\-A\-M l\-Param)
\item 
bool \hyperlink{WMode_8cpp_ab8bfffbff4c2aaf50d2c4fa31abbda8d}{\-Send\-Hotkey} (\hyperlink{structBW_1_1dlgEvent}{\-B\-W\-::dlg\-Event} $\ast$p\-Event)
\item 
void \hyperlink{WMode_8cpp_aeaaa64cdfbef4189c0db53c890e27e02}{\-Button\-Event} (\hyperlink{Types_8h_a8aec363bdef0c755693c97d1757e8642}{\-D\-W\-O\-R\-D} dw\-Event, \-L\-P\-A\-R\-A\-M l\-Param)
\item 
void \hyperlink{WMode_8cpp_af2da7299da11b7bef2516b19a071c5c0}{\-Correct\-Window\-Width} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} type, \-S\-I\-Z\-E $\ast$ws, \-R\-E\-C\-T $\ast$rct, \-S\-I\-Z\-E $\ast$border)
\item 
void \hyperlink{WMode_8cpp_ab15f3575b083dfde81ab2ba8591cd31d}{\-Correct\-Window\-Height} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} type, \-S\-I\-Z\-E $\ast$ws, \-R\-E\-C\-T $\ast$rct, \-S\-I\-Z\-E $\ast$border)
\item 
\-L\-R\-E\-S\-U\-L\-T \-C\-A\-L\-L\-B\-A\-C\-K \hyperlink{WMode_8cpp_aa3c0dffffb193b71b4355d686021719c}{\-Window\-Proc} (\hyperlink{Detours_8h_a79aa3df76a82595f71d6ec65659ad8f1}{\-H\-W\-N\-D} h\-Wnd, \-U\-I\-N\-T u\-Msg, \-W\-P\-A\-R\-A\-M w\-Param, \-L\-P\-A\-R\-A\-M l\-Param)
\item 
\hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \-W\-I\-N\-A\-P\-I \hyperlink{WMode_8cpp_abccf1217a7295759877d8f6e7f6c024a}{\-\_\-\-Get\-Cursor\-Pos} (\-L\-P\-P\-O\-I\-N\-T lp\-Point)
\item 
\hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \-W\-I\-N\-A\-P\-I \hyperlink{WMode_8cpp_a917988be0506fd343f405accf01e5ca7}{\-\_\-\-Set\-Cursor\-Pos} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \-X, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8h_aa482c4cc86a24474e4fb19b5b5978778}{\-Y})
\item 
\hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \-W\-I\-N\-A\-P\-I \hyperlink{WMode_8cpp_a4496a18a4e58fd3e9c644219629ffdf3}{\-\_\-\-Clip\-Cursor} (const \-R\-E\-C\-T $\ast$\hyperlink{WMode_8h_a753cf54b9e386e9f87c7910e3519f46d}{lp\-Rect})
\item 
\hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \-\_\-\-\_\-stdcall \hyperlink{WMode_8cpp_a22571c9a488ba36a36ac29b98fa01c62}{\-\_\-\-S\-Draw\-Lock\-Surface} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} surfacenumber, \-R\-E\-C\-T $\ast$\hyperlink{WMode_8h_ae3366b878bc0d83afcca2f2364cefa9a}{lp\-Dest\-Rect}, void $\ast$$\ast$\hyperlink{WMode_8h_a4f21a3126053ae9009185ce47711b260}{lplp\-Surface}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} $\ast$\hyperlink{WMode_8h_a8d9b2d623d20d101671bd2e08ab13141}{lp\-Pitch}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8h_aa10e387ad905723b7a2a280c54cebcd3}{arg\-\_\-unused})
\item 
\hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \-\_\-\-\_\-stdcall \hyperlink{WMode_8cpp_a189151feff922ac806a8abf139cba160}{\-\_\-\-S\-Draw\-Unlock\-Surface} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} surfacenumber, void $\ast$\hyperlink{WMode_8h_a01c1f9dc77a3bb82c15553d2d8dc0627}{lp\-Surface}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8h_a4489625b2af5ef11ca43712efec63f88}{a3}, \-R\-E\-C\-T $\ast$\hyperlink{WMode_8h_a753cf54b9e386e9f87c7910e3519f46d}{lp\-Rect})
\item 
\hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \-\_\-\-\_\-stdcall \hyperlink{WMode_8cpp_ab36e243bf43f75b2e296fb7b264c0e13}{\-\_\-\-S\-Draw\-Update\-Palette} (unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} firstentry, unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8h_a8a1caef783c66fab17b50e948bb1127c}{numentries}, \-P\-A\-L\-E\-T\-T\-E\-E\-N\-T\-R\-Y $\ast$\hyperlink{WMode_8h_a282f5079ecc37bc16a24856e3de6422a}{p\-Pal\-Entries}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8h_a22a5aedc21dfff2b1ff71c3495b9cc51}{a4})
\item 
\hyperlink{Types_8h_a3e5b8192e7d9ffaf3542f1210aec18dd}{\-B\-O\-O\-L} \-\_\-\-\_\-stdcall \hyperlink{WMode_8cpp_a0110ece33a77456bdeac1c49dbddab24}{\-\_\-\-S\-Draw\-Realize\-Palette} ()
\item 
void \hyperlink{WMode_8cpp_aa2251d6c6b76ef347b16dea09f8502ab}{\-Set\-W\-Mode} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} width, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} height, bool state)
\item 
void \hyperlink{WMode_8cpp_a079725da293c29e1cabc676446d89647}{\-Set\-Cursor\-Show\-State} (bool b\-Show)
\end{DoxyCompactItemize}
\subsection*{\-Variables}
\begin{DoxyCompactItemize}
\item 
\-W\-N\-D\-P\-R\-O\-C \hyperlink{WMode_8cpp_a1e43f176c150f635489504a81c9e9516}{w\-Original\-Proc}
\item 
\hyperlink{Detours_8h_a79aa3df76a82595f71d6ec65659ad8f1}{\-H\-W\-N\-D} \hyperlink{WMode_8cpp_ab83be9929c1aaf9638ea2f4bff0dbe99}{gh\-Main\-Wnd}
\item 
bool \hyperlink{WMode_8cpp_a9d8c711c90d1683a04fa8dd60cafcd5d}{wmode}
\item 
\-H\-D\-C \hyperlink{WMode_8cpp_a99fd272a41e84e5bddf7b796b1520f83}{hdc\-Mem}
\item 
void $\ast$ \hyperlink{WMode_8cpp_a4327327165ee55a4aecd03d75f3f5174}{p\-Bits}
\item 
bool \hyperlink{WMode_8cpp_a56ff3db18c9a85e071d4a7f45fb77c3d}{gb\-Want\-Update} = false
\item 
bool \hyperlink{WMode_8cpp_a3f7c7640410eecfcbc681b6caf4977eb}{gb\-Is\-Cursor\-Hidden} = \hyperlink{ChaosLauncherInjector_2source_2DLLMain_8cpp_a930920b2bc42824a5c03be681830f4b2}{true}
\item 
bool \hyperlink{WMode_8cpp_ac53376e9d69a6c3f4abf6329c5316d6d}{gb\-Holding\-Alt} = false
\item 
bool \hyperlink{WMode_8cpp_a234d96aa9f5b1b98e24067b9b5a708dc}{recording\-Updated}
\item 
bool \hyperlink{WMode_8cpp_af3950556de8a67e875e0a0e497579321}{switch\-To\-W\-Mode} = false
\item 
\-R\-E\-C\-T \hyperlink{WMode_8cpp_a6fc6f9097645c08fb02b894d7c0ffd79}{window\-Rect} = \{ 0, 0, 640, 480 \}
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8cpp_aa482c4cc86a24474e4fb19b5b5978778}{\-Y}
\item 
\-R\-E\-C\-T $\ast$ \hyperlink{WMode_8cpp_ae3366b878bc0d83afcca2f2364cefa9a}{lp\-Dest\-Rect}
\item 
\-R\-E\-C\-T void $\ast$$\ast$ \hyperlink{WMode_8cpp_a4f21a3126053ae9009185ce47711b260}{lplp\-Surface}
\item 
\-R\-E\-C\-T void \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} $\ast$ \hyperlink{WMode_8cpp_a8d9b2d623d20d101671bd2e08ab13141}{lp\-Pitch}
\item 
\-R\-E\-C\-T void \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8cpp_aa10e387ad905723b7a2a280c54cebcd3}{arg\-\_\-unused}
\item 
void $\ast$ \hyperlink{WMode_8cpp_a01c1f9dc77a3bb82c15553d2d8dc0627}{lp\-Surface}
\item 
void \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8cpp_a4489625b2af5ef11ca43712efec63f88}{a3}
\item 
void \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \-R\-E\-C\-T $\ast$ \hyperlink{WMode_8cpp_a753cf54b9e386e9f87c7910e3519f46d}{lp\-Rect}
\item 
unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8cpp_a8a1caef783c66fab17b50e948bb1127c}{numentries}
\item 
unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \-P\-A\-L\-E\-T\-T\-E\-E\-N\-T\-R\-Y $\ast$ \hyperlink{WMode_8cpp_a282f5079ecc37bc16a24856e3de6422a}{p\-Pal\-Entries}
\item 
unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \-P\-A\-L\-E\-T\-T\-E\-E\-N\-T\-R\-Y \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{WMode_8cpp_a22a5aedc21dfff2b1ff71c3495b9cc51}{a4}
\item 
\hyperlink{structBITMAPINFO256}{\-B\-I\-T\-M\-A\-P\-I\-N\-F\-O256} \hyperlink{WMode_8cpp_a3a9e4bde0182eb9ae9cf63efb94af46b}{wmodebmp}
\item 
\-H\-B\-I\-T\-M\-A\-P \hyperlink{WMode_8cpp_a10785f7c1763cfcb2746a89b45629781}{hwmode\-Bmp}
\end{DoxyCompactItemize}


\subsection{\-Function \-Documentation}
\hypertarget{WMode_8cpp_a4496a18a4e58fd3e9c644219629ffdf3}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-\_\-\-Clip\-Cursor@{\-\_\-\-Clip\-Cursor}}
\index{\-\_\-\-Clip\-Cursor@{\-\_\-\-Clip\-Cursor}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-\_\-\-Clip\-Cursor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} \-W\-I\-N\-A\-P\-I {\bf \-\_\-\-Clip\-Cursor} (
\begin{DoxyParamCaption}
\item[{const \-R\-E\-C\-T $\ast$}]{lp\-Rect}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a4496a18a4e58fd3e9c644219629ffdf3}


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


\hypertarget{WMode_8cpp_abccf1217a7295759877d8f6e7f6c024a}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-\_\-\-Get\-Cursor\-Pos@{\-\_\-\-Get\-Cursor\-Pos}}
\index{\-\_\-\-Get\-Cursor\-Pos@{\-\_\-\-Get\-Cursor\-Pos}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-\_\-\-Get\-Cursor\-Pos}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} \-W\-I\-N\-A\-P\-I {\bf \-\_\-\-Get\-Cursor\-Pos} (
\begin{DoxyParamCaption}
\item[{\-L\-P\-P\-O\-I\-N\-T}]{lp\-Point}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_abccf1217a7295759877d8f6e7f6c024a}


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




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


\hypertarget{WMode_8cpp_a22571c9a488ba36a36ac29b98fa01c62}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-\_\-\-S\-Draw\-Lock\-Surface@{\-\_\-\-S\-Draw\-Lock\-Surface}}
\index{\-\_\-\-S\-Draw\-Lock\-Surface@{\-\_\-\-S\-Draw\-Lock\-Surface}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-\_\-\-S\-Draw\-Lock\-Surface}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} \-\_\-\-\_\-stdcall {\bf \-\_\-\-S\-Draw\-Lock\-Surface} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{surfacenumber, }
\item[{\-R\-E\-C\-T $\ast$}]{lp\-Dest\-Rect, }
\item[{void $\ast$$\ast$}]{lplp\-Surface, }
\item[{{\bf int} $\ast$}]{lp\-Pitch, }
\item[{{\bf int}}]{arg\-\_\-unused}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a22571c9a488ba36a36ac29b98fa01c62}


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




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


\hypertarget{WMode_8cpp_a0110ece33a77456bdeac1c49dbddab24}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-\_\-\-S\-Draw\-Realize\-Palette@{\-\_\-\-S\-Draw\-Realize\-Palette}}
\index{\-\_\-\-S\-Draw\-Realize\-Palette@{\-\_\-\-S\-Draw\-Realize\-Palette}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-\_\-\-S\-Draw\-Realize\-Palette}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} \-\_\-\-\_\-stdcall {\bf \-\_\-\-S\-Draw\-Realize\-Palette} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a0110ece33a77456bdeac1c49dbddab24}


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




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


\hypertarget{WMode_8cpp_a189151feff922ac806a8abf139cba160}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-\_\-\-S\-Draw\-Unlock\-Surface@{\-\_\-\-S\-Draw\-Unlock\-Surface}}
\index{\-\_\-\-S\-Draw\-Unlock\-Surface@{\-\_\-\-S\-Draw\-Unlock\-Surface}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-\_\-\-S\-Draw\-Unlock\-Surface}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} \-\_\-\-\_\-stdcall {\bf \-\_\-\-S\-Draw\-Unlock\-Surface} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{surfacenumber, }
\item[{void $\ast$}]{lp\-Surface, }
\item[{{\bf int}}]{a3, }
\item[{\-R\-E\-C\-T $\ast$}]{lp\-Rect}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a189151feff922ac806a8abf139cba160}


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




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


\hypertarget{WMode_8cpp_ab36e243bf43f75b2e296fb7b264c0e13}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-\_\-\-S\-Draw\-Update\-Palette@{\-\_\-\-S\-Draw\-Update\-Palette}}
\index{\-\_\-\-S\-Draw\-Update\-Palette@{\-\_\-\-S\-Draw\-Update\-Palette}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-\_\-\-S\-Draw\-Update\-Palette}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} \-\_\-\-\_\-stdcall {\bf \-\_\-\-S\-Draw\-Update\-Palette} (
\begin{DoxyParamCaption}
\item[{unsigned {\bf int}}]{firstentry, }
\item[{unsigned {\bf int}}]{numentries, }
\item[{\-P\-A\-L\-E\-T\-T\-E\-E\-N\-T\-R\-Y $\ast$}]{p\-Pal\-Entries, }
\item[{{\bf int}}]{a4}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_ab36e243bf43f75b2e296fb7b264c0e13}


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




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


\hypertarget{WMode_8cpp_a917988be0506fd343f405accf01e5ca7}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-\_\-\-Set\-Cursor\-Pos@{\-\_\-\-Set\-Cursor\-Pos}}
\index{\-\_\-\-Set\-Cursor\-Pos@{\-\_\-\-Set\-Cursor\-Pos}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-\_\-\-Set\-Cursor\-Pos}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} \-W\-I\-N\-A\-P\-I {\bf \-\_\-\-Set\-Cursor\-Pos} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{\-X, }
\item[{{\bf int}}]{\-Y}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a917988be0506fd343f405accf01e5ca7}


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


\hypertarget{WMode_8cpp_a377a5dc6bb914fe9294cdffd2be32bca}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-B\-O\-O\-L@{\-B\-O\-O\-L}}
\index{\-B\-O\-O\-L@{\-B\-O\-O\-L}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-B\-O\-O\-L}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} (
\begin{DoxyParamCaption}
\item[{\-W\-I\-N\-A\-P\-I $\ast$}]{\-\_\-\-Get\-Cursor\-Pos\-Old}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a377a5dc6bb914fe9294cdffd2be32bca}
\hypertarget{WMode_8cpp_aac23fe10d253a778d46f61a50af83e0e}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-B\-O\-O\-L@{\-B\-O\-O\-L}}
\index{\-B\-O\-O\-L@{\-B\-O\-O\-L}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-B\-O\-O\-L}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-O\-O\-L} (
\begin{DoxyParamCaption}
\item[{\-S\-T\-O\-R\-M\-A\-P\-I $\ast$}]{\-\_\-\-S\-Draw\-Lock\-Surface\-Old}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_aac23fe10d253a778d46f61a50af83e0e}
\hypertarget{WMode_8cpp_aeaaa64cdfbef4189c0db53c890e27e02}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Button\-Event@{\-Button\-Event}}
\index{\-Button\-Event@{\-Button\-Event}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Button\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Button\-Event} (
\begin{DoxyParamCaption}
\item[{{\bf \-D\-W\-O\-R\-D}}]{dw\-Event, }
\item[{\-L\-P\-A\-R\-A\-M}]{l\-Param}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_aeaaa64cdfbef4189c0db53c890e27e02}


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




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


\hypertarget{WMode_8cpp_ab15f3575b083dfde81ab2ba8591cd31d}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Correct\-Window\-Height@{\-Correct\-Window\-Height}}
\index{\-Correct\-Window\-Height@{\-Correct\-Window\-Height}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Correct\-Window\-Height}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Correct\-Window\-Height} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{type, }
\item[{\-S\-I\-Z\-E $\ast$}]{ws, }
\item[{\-R\-E\-C\-T $\ast$}]{rct, }
\item[{\-S\-I\-Z\-E $\ast$}]{border}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_ab15f3575b083dfde81ab2ba8591cd31d}


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


\hypertarget{WMode_8cpp_af2da7299da11b7bef2516b19a071c5c0}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Correct\-Window\-Width@{\-Correct\-Window\-Width}}
\index{\-Correct\-Window\-Width@{\-Correct\-Window\-Width}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Correct\-Window\-Width}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Correct\-Window\-Width} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{type, }
\item[{\-S\-I\-Z\-E $\ast$}]{ws, }
\item[{\-R\-E\-C\-T $\ast$}]{rct, }
\item[{\-S\-I\-Z\-E $\ast$}]{border}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_af2da7299da11b7bef2516b19a071c5c0}


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


\hypertarget{WMode_8cpp_a3027ff22de66478a22debcd83ebd8650}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Fix\-Points@{\-Fix\-Points}}
\index{\-Fix\-Points@{\-Fix\-Points}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Fix\-Points}]{\setlength{\rightskip}{0pt plus 5cm}\-L\-P\-A\-R\-A\-M {\bf \-Fix\-Points} (
\begin{DoxyParamCaption}
\item[{\-L\-P\-A\-R\-A\-M}]{l\-Param}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a3027ff22de66478a22debcd83ebd8650}


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


\hypertarget{WMode_8cpp_af84993a516d1a1e37856d551ddaefa9e}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Get\-Border\-Rect@{\-Get\-Border\-Rect}}
\index{\-Get\-Border\-Rect@{\-Get\-Border\-Rect}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Get\-Border\-Rect}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Get\-Border\-Rect} (
\begin{DoxyParamCaption}
\item[{{\bf \-H\-W\-N\-D}}]{h\-Wnd, }
\item[{\-L\-P\-R\-E\-C\-T}]{lp\-Rect}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_af84993a516d1a1e37856d551ddaefa9e}


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


\hypertarget{WMode_8cpp_a7f7f511667ef2cf1a95ff2e33ad1ce11}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Get\-Border\-Size@{\-Get\-Border\-Size}}
\index{\-Get\-Border\-Size@{\-Get\-Border\-Size}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Get\-Border\-Size}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Get\-Border\-Size} (
\begin{DoxyParamCaption}
\item[{{\bf \-H\-W\-N\-D}}]{h\-Wnd, }
\item[{\-L\-P\-S\-I\-Z\-E}]{lp\-Size}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a7f7f511667ef2cf1a95ff2e33ad1ce11}


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




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


\hypertarget{WMode_8cpp_a962808196ed14fec6c48d7f79ca990fe}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Initialize\-W\-Mode\-Bitmap@{\-Initialize\-W\-Mode\-Bitmap}}
\index{\-Initialize\-W\-Mode\-Bitmap@{\-Initialize\-W\-Mode\-Bitmap}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Initialize\-W\-Mode\-Bitmap}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Initialize\-W\-Mode\-Bitmap} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{width, }
\item[{{\bf int}}]{height}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a962808196ed14fec6c48d7f79ca990fe}


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


\hypertarget{WMode_8cpp_ab8bfffbff4c2aaf50d2c4fa31abbda8d}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Send\-Hotkey@{\-Send\-Hotkey}}
\index{\-Send\-Hotkey@{\-Send\-Hotkey}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Send\-Hotkey}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Send\-Hotkey} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-::dlg\-Event} $\ast$}]{p\-Event}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_ab8bfffbff4c2aaf50d2c4fa31abbda8d}


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




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


\hypertarget{WMode_8cpp_a079725da293c29e1cabc676446d89647}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Set\-Cursor\-Show\-State@{\-Set\-Cursor\-Show\-State}}
\index{\-Set\-Cursor\-Show\-State@{\-Set\-Cursor\-Show\-State}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Set\-Cursor\-Show\-State}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Set\-Cursor\-Show\-State} (
\begin{DoxyParamCaption}
\item[{bool}]{b\-Show}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_a079725da293c29e1cabc676446d89647}


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


\hypertarget{WMode_8cpp_aa2251d6c6b76ef347b16dea09f8502ab}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Set\-W\-Mode@{\-Set\-W\-Mode}}
\index{\-Set\-W\-Mode@{\-Set\-W\-Mode}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Set\-W\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Set\-W\-Mode} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{width, }
\item[{{\bf int}}]{height, }
\item[{bool}]{state}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_aa2251d6c6b76ef347b16dea09f8502ab}


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




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


\hypertarget{WMode_8cpp_aa3c0dffffb193b71b4355d686021719c}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Window\-Proc@{\-Window\-Proc}}
\index{\-Window\-Proc@{\-Window\-Proc}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Window\-Proc}]{\setlength{\rightskip}{0pt plus 5cm}\-L\-R\-E\-S\-U\-L\-T \-C\-A\-L\-L\-B\-A\-C\-K {\bf \-Window\-Proc} (
\begin{DoxyParamCaption}
\item[{{\bf \-H\-W\-N\-D}}]{h\-Wnd, }
\item[{\-U\-I\-N\-T}]{u\-Msg, }
\item[{\-W\-P\-A\-R\-A\-M}]{w\-Param, }
\item[{\-L\-P\-A\-R\-A\-M}]{l\-Param}
\end{DoxyParamCaption}
)}}\label{WMode_8cpp_aa3c0dffffb193b71b4355d686021719c}


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




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




\subsection{\-Variable \-Documentation}
\hypertarget{WMode_8cpp_a4489625b2af5ef11ca43712efec63f88}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!a3@{a3}}
\index{a3@{a3}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{a3}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf int} {\bf a3}}}\label{WMode_8cpp_a4489625b2af5ef11ca43712efec63f88}
\hypertarget{WMode_8cpp_a22a5aedc21dfff2b1ff71c3495b9cc51}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!a4@{a4}}
\index{a4@{a4}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{a4}]{\setlength{\rightskip}{0pt plus 5cm}unsigned {\bf int} \-P\-A\-L\-E\-T\-T\-E\-E\-N\-T\-R\-Y {\bf int} {\bf a4}}}\label{WMode_8cpp_a22a5aedc21dfff2b1ff71c3495b9cc51}
\hypertarget{WMode_8cpp_aa10e387ad905723b7a2a280c54cebcd3}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!arg\-\_\-unused@{arg\-\_\-unused}}
\index{arg\-\_\-unused@{arg\-\_\-unused}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{arg\-\_\-unused}]{\setlength{\rightskip}{0pt plus 5cm}\-R\-E\-C\-T void {\bf int} {\bf int} {\bf arg\-\_\-unused}}}\label{WMode_8cpp_aa10e387ad905723b7a2a280c54cebcd3}
\hypertarget{WMode_8cpp_ac53376e9d69a6c3f4abf6329c5316d6d}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!gb\-Holding\-Alt@{gb\-Holding\-Alt}}
\index{gb\-Holding\-Alt@{gb\-Holding\-Alt}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{gb\-Holding\-Alt}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf gb\-Holding\-Alt} = false}}\label{WMode_8cpp_ac53376e9d69a6c3f4abf6329c5316d6d}
\hypertarget{WMode_8cpp_a3f7c7640410eecfcbc681b6caf4977eb}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!gb\-Is\-Cursor\-Hidden@{gb\-Is\-Cursor\-Hidden}}
\index{gb\-Is\-Cursor\-Hidden@{gb\-Is\-Cursor\-Hidden}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{gb\-Is\-Cursor\-Hidden}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf gb\-Is\-Cursor\-Hidden} = {\bf true}}}\label{WMode_8cpp_a3f7c7640410eecfcbc681b6caf4977eb}
\hypertarget{WMode_8cpp_a56ff3db18c9a85e071d4a7f45fb77c3d}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!gb\-Want\-Update@{gb\-Want\-Update}}
\index{gb\-Want\-Update@{gb\-Want\-Update}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{gb\-Want\-Update}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf gb\-Want\-Update} = false}}\label{WMode_8cpp_a56ff3db18c9a85e071d4a7f45fb77c3d}
\hypertarget{WMode_8cpp_ab83be9929c1aaf9638ea2f4bff0dbe99}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!gh\-Main\-Wnd@{gh\-Main\-Wnd}}
\index{gh\-Main\-Wnd@{gh\-Main\-Wnd}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{gh\-Main\-Wnd}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-H\-W\-N\-D} {\bf gh\-Main\-Wnd}}}\label{WMode_8cpp_ab83be9929c1aaf9638ea2f4bff0dbe99}
\hypertarget{WMode_8cpp_a99fd272a41e84e5bddf7b796b1520f83}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!hdc\-Mem@{hdc\-Mem}}
\index{hdc\-Mem@{hdc\-Mem}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{hdc\-Mem}]{\setlength{\rightskip}{0pt plus 5cm}\-H\-D\-C {\bf hdc\-Mem}}}\label{WMode_8cpp_a99fd272a41e84e5bddf7b796b1520f83}
\hypertarget{WMode_8cpp_a10785f7c1763cfcb2746a89b45629781}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!hwmode\-Bmp@{hwmode\-Bmp}}
\index{hwmode\-Bmp@{hwmode\-Bmp}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{hwmode\-Bmp}]{\setlength{\rightskip}{0pt plus 5cm}\-H\-B\-I\-T\-M\-A\-P {\bf hwmode\-Bmp}}}\label{WMode_8cpp_a10785f7c1763cfcb2746a89b45629781}
\hypertarget{WMode_8cpp_ae3366b878bc0d83afcca2f2364cefa9a}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!lp\-Dest\-Rect@{lp\-Dest\-Rect}}
\index{lp\-Dest\-Rect@{lp\-Dest\-Rect}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{lp\-Dest\-Rect}]{\setlength{\rightskip}{0pt plus 5cm}\-R\-E\-C\-T$\ast$ {\bf lp\-Dest\-Rect}}}\label{WMode_8cpp_ae3366b878bc0d83afcca2f2364cefa9a}
\hypertarget{WMode_8cpp_a4f21a3126053ae9009185ce47711b260}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!lplp\-Surface@{lplp\-Surface}}
\index{lplp\-Surface@{lplp\-Surface}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{lplp\-Surface}]{\setlength{\rightskip}{0pt plus 5cm}\-R\-E\-C\-T void$\ast$$\ast$ {\bf lplp\-Surface}}}\label{WMode_8cpp_a4f21a3126053ae9009185ce47711b260}
\hypertarget{WMode_8cpp_a8d9b2d623d20d101671bd2e08ab13141}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!lp\-Pitch@{lp\-Pitch}}
\index{lp\-Pitch@{lp\-Pitch}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{lp\-Pitch}]{\setlength{\rightskip}{0pt plus 5cm}\-R\-E\-C\-T void {\bf int}$\ast$ {\bf lp\-Pitch}}}\label{WMode_8cpp_a8d9b2d623d20d101671bd2e08ab13141}
\hypertarget{WMode_8cpp_a753cf54b9e386e9f87c7910e3519f46d}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!lp\-Rect@{lp\-Rect}}
\index{lp\-Rect@{lp\-Rect}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{lp\-Rect}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf int} \-R\-E\-C\-T$\ast$ {\bf lp\-Rect}}}\label{WMode_8cpp_a753cf54b9e386e9f87c7910e3519f46d}
\hypertarget{WMode_8cpp_a01c1f9dc77a3bb82c15553d2d8dc0627}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!lp\-Surface@{lp\-Surface}}
\index{lp\-Surface@{lp\-Surface}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{lp\-Surface}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf lp\-Surface}}}\label{WMode_8cpp_a01c1f9dc77a3bb82c15553d2d8dc0627}
\hypertarget{WMode_8cpp_a8a1caef783c66fab17b50e948bb1127c}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!numentries@{numentries}}
\index{numentries@{numentries}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{numentries}]{\setlength{\rightskip}{0pt plus 5cm}unsigned {\bf int} {\bf numentries}}}\label{WMode_8cpp_a8a1caef783c66fab17b50e948bb1127c}
\hypertarget{WMode_8cpp_a4327327165ee55a4aecd03d75f3f5174}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!p\-Bits@{p\-Bits}}
\index{p\-Bits@{p\-Bits}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{p\-Bits}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf p\-Bits}}}\label{WMode_8cpp_a4327327165ee55a4aecd03d75f3f5174}
\hypertarget{WMode_8cpp_a282f5079ecc37bc16a24856e3de6422a}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!p\-Pal\-Entries@{p\-Pal\-Entries}}
\index{p\-Pal\-Entries@{p\-Pal\-Entries}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{p\-Pal\-Entries}]{\setlength{\rightskip}{0pt plus 5cm}unsigned {\bf int} \-P\-A\-L\-E\-T\-T\-E\-E\-N\-T\-R\-Y$\ast$ {\bf p\-Pal\-Entries}}}\label{WMode_8cpp_a282f5079ecc37bc16a24856e3de6422a}
\hypertarget{WMode_8cpp_a234d96aa9f5b1b98e24067b9b5a708dc}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!recording\-Updated@{recording\-Updated}}
\index{recording\-Updated@{recording\-Updated}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{recording\-Updated}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf recording\-Updated}}}\label{WMode_8cpp_a234d96aa9f5b1b98e24067b9b5a708dc}
\hypertarget{WMode_8cpp_af3950556de8a67e875e0a0e497579321}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!switch\-To\-W\-Mode@{switch\-To\-W\-Mode}}
\index{switch\-To\-W\-Mode@{switch\-To\-W\-Mode}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{switch\-To\-W\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf switch\-To\-W\-Mode} = false}}\label{WMode_8cpp_af3950556de8a67e875e0a0e497579321}
\hypertarget{WMode_8cpp_a6fc6f9097645c08fb02b894d7c0ffd79}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!window\-Rect@{window\-Rect}}
\index{window\-Rect@{window\-Rect}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{window\-Rect}]{\setlength{\rightskip}{0pt plus 5cm}\-R\-E\-C\-T {\bf window\-Rect} = \{ 0, 0, 640, 480 \}}}\label{WMode_8cpp_a6fc6f9097645c08fb02b894d7c0ffd79}
\hypertarget{WMode_8cpp_a9d8c711c90d1683a04fa8dd60cafcd5d}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!wmode@{wmode}}
\index{wmode@{wmode}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{wmode}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf wmode}}}\label{WMode_8cpp_a9d8c711c90d1683a04fa8dd60cafcd5d}
\hypertarget{WMode_8cpp_a3a9e4bde0182eb9ae9cf63efb94af46b}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!wmodebmp@{wmodebmp}}
\index{wmodebmp@{wmodebmp}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{wmodebmp}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-I\-T\-M\-A\-P\-I\-N\-F\-O256} {\bf wmodebmp}}}\label{WMode_8cpp_a3a9e4bde0182eb9ae9cf63efb94af46b}
\hypertarget{WMode_8cpp_a1e43f176c150f635489504a81c9e9516}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!w\-Original\-Proc@{w\-Original\-Proc}}
\index{w\-Original\-Proc@{w\-Original\-Proc}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{w\-Original\-Proc}]{\setlength{\rightskip}{0pt plus 5cm}\-W\-N\-D\-P\-R\-O\-C {\bf w\-Original\-Proc}}}\label{WMode_8cpp_a1e43f176c150f635489504a81c9e9516}
\hypertarget{WMode_8cpp_aa482c4cc86a24474e4fb19b5b5978778}{\index{\-W\-Mode.\-cpp@{\-W\-Mode.\-cpp}!\-Y@{\-Y}}
\index{\-Y@{\-Y}!WMode.cpp@{\-W\-Mode.\-cpp}}
\subsubsection[{\-Y}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-Y}}}\label{WMode_8cpp_aa482c4cc86a24474e4fb19b5b5978778}
