<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[kurze winmain funktion um über winapi pixel zu setzen]]></title><description><![CDATA[<p>ich bräucht ne möglichst kurze WinMain Funktion um pixel über die Win-Api zu setzen die auch 100%ig funktioniert.</p>
<p>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/75975/kurze-winmain-funktion-um-über-winapi-pixel-zu-setzen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 08:36:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/75975.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Jun 2004 17:49:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to kurze winmain funktion um über winapi pixel zu setzen on Sun, 06 Jun 2004 17:49:21 GMT]]></title><description><![CDATA[<p>ich bräucht ne möglichst kurze WinMain Funktion um pixel über die Win-Api zu setzen die auch 100%ig funktioniert.</p>
<p>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/534448</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/534448</guid><dc:creator><![CDATA[prgm]]></dc:creator><pubDate>Sun, 06 Jun 2004 17:49:21 GMT</pubDate></item><item><title><![CDATA[Reply to kurze winmain funktion um über winapi pixel zu setzen on Sun, 06 Jun 2004 19:09:50 GMT]]></title><description><![CDATA[<p>Ausschnitt aus der WinApi Programmers Reference:</p>
<p>The SetPixel function sets the pixel at the specified coordinates to the specified color.</p>
<p>COLORREF SetPixel(</p>
<p>HDC hdc, // handle of device context<br />
int X, // x-coordinate of pixel<br />
int Y, // y-coordinate of pixel<br />
COLORREF crColor // pixel color<br />
);<br />
Parameters</p>
<p>hdc</p>
<p>Identifies the device context.</p>
<p>X</p>
<p>Specifies the x-coordinate, in logical units, of the point to be set.</p>
<p>Y</p>
<p>Specifies the y-coordinate, in logical units, of the point to be set.</p>
<p>crColor</p>
<p>Specifies the color to be used to paint the point.</p>
<p>Return Value</p>
<p>If the function succeeds, the return value is the RGB value that the function sets the pixel to. This value may differ from the color specified by crColor; that happens when an exact match for the specified color cannot be found.<br />
If the function fails, the return value is -1. To get extended error information, call GetLastError.</p>
<p>Remarks</p>
<p>The function fails if the pixel coordinates lie outside of the current clipping region.<br />
Not all devices support the SetPixel function. For more information, see GetDeviceCaps.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/534532</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/534532</guid><dc:creator><![CDATA[Uli]]></dc:creator><pubDate>Sun, 06 Jun 2004 19:09:50 GMT</pubDate></item></channel></rss>