f the bitmap.</p>
<pre><code>FUNCTION GetMemDC () AS HDC
</code></pre>
<h1 id="getpixel"><a name="GetPixel"></a>GetPixel</h1>
<p>Retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.</p>
<pre><code>FUNCTION GetPixel (BYVAL x AS LONG, BYVAL y AS LONG) AS COLORREF
</code></pre>
<table>
<thead>
<tr class="header">
<th>Parameter</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><em>x</em></td>
<td>The x-coordinate, in logical units, of the pixel to be ex