📄 group__win32__types.htm
字号:
<tr> <td class="md" nowrap valign="top">#define LOWORD </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">l </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> ((<a class="el" href="group__win32__types.htm#ga2">WORD</a>)(<a class="el" href="group__win32__types.htm#ga4">DWORD</a>)(l))</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Returns the low word of the double word <em>l</em>. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__win32__types.htm#ga26">MAKELONG</a> </dd></dl><p>Definition at line <a class="el" href="common_8h-source.htm#l00452">452</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td> </tr></table><a class="anchor" name="ga26" doxytag="common.h::MAKELONG"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define MAKELONG </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">low, <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>high </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> ((<a class="el" href="group__win32__types.htm#ga4">DWORD</a>)(((<a class="el" href="group__win32__types.htm#ga2">WORD</a>)(low)) | (((<a class="el" href="group__win32__types.htm#ga4">DWORD</a>)((<a class="el" href="group__win32__types.htm#ga2">WORD</a>)(high))) << 16)))</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Makes a double word from <em>low</em> word and <em>high</em> word. <p><p>Definition at line <a class="el" href="common_8h-source.htm#l00480">480</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td> </tr></table><a class="anchor" name="ga30" doxytag="common.h::MakeRGB"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define MakeRGB </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">r, <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>g, <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>b </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><b>Value:</b><div class="fragment"><pre class="fragment">(((<a class="code" href="group__win32__types.htm#ga4">DWORD</a>)((<a class="code" href="group__win32__types.htm#ga0">BYTE</a>)(r))) | ((<a class="code" href="group__win32__types.htm#ga4">DWORD</a>)((<a class="code" href="group__win32__types.htm#ga0">BYTE</a>)(g)) << 8) \ | ((<a class="code" href="group__win32__types.htm#ga4">DWORD</a>)((<a class="code" href="group__win32__types.htm#ga0">BYTE</a>)(b)) << 16))</pre></div>Makes a RGB triple value from red <em>r</em>, green <em>g</em>, and blue <em>b</em> components. <p><dl compact><dt><b>Note:</b></dt><dd>The red, green, and blue components are all ranged from 0 to 255, and the returned value will be a double word.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__win32__types.htm#ga27">GetRValue</a>, <a class="el" href="group__win32__types.htm#ga28">GetGValue</a>, <a class="el" href="group__win32__types.htm#ga29">GetBValue</a> </dd></dl><p>Definition at line <a class="el" href="common_8h-source.htm#l00519">519</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td> </tr></table><a class="anchor" name="ga21" doxytag="common.h::MAKEWORD"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define MAKEWORD </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">low, <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>high </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> ((<a class="el" href="group__win32__types.htm#ga2">WORD</a>)(((<a class="el" href="group__win32__types.htm#ga0">BYTE</a>)(low)) | (((<a class="el" href="group__win32__types.htm#ga2">WORD</a>)((<a class="el" href="group__win32__types.htm#ga0">BYTE</a>)(high))) << 8)))</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Makes a word from <em>low</em> byte and <em>high</em> byte. <p><p>Definition at line <a class="el" href="common_8h-source.htm#l00444">444</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td> </tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga0" doxytag="common.h::BYTE"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef unsigned char <a class="el" href="group__win32__types.htm#ga0">BYTE</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A type definition for unsigned character (byte). <p><p>Definition at line <a class="el" href="common_8h-source.htm#l00361">361</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td> </tr></table><a class="anchor" name="ga4" doxytag="common.h::DWORD"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef unsigned long <a class="el" href="group__win32__types.htm#ga4">DWORD</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A type definition for unsigned long integer (double word). <p><p>Definition at line <a class="el" href="common_8h-source.htm#l00388">388</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td> </tr></table><a class="anchor" name="ga7" doxytag="common.h::LONG"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef long <a class="el" href="group__win32__types.htm#ga7">LONG</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A type definition for long integer. <p><p>Definition at line <a class="el" href="common_8h-source.htm#l00410">410</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td> </tr></table><a class="anchor" name="ga9" doxytag="common.h::LPARAM"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef unsigned long <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A type definition for the second message paramter. <p><p>Definition at line <a class="el" href="common_8h-source.htm#l00423">423</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td> </tr></table><a class="anchor" name="ga13" doxytag="common.h::POINT"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="struct__POINT.htm">_POINT</a> <a class="el" href="struct__POINT.htm">POINT</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Point structure. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__win32__types.htm#ga14">PPOINT</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga14" doxytag="common.h::PPOINT"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef <a class="el" href="struct__POINT.htm">POINT</a> * <a class="el" href="struct__POINT.htm">PPOINT</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Data type of the pointer to a POINT. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__win32__types.htm#ga13">POINT</a> </dd></dl><p>Definition at line <a class="el" href="common_8h-source.htm#l00585">585</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td> </tr></table><a class="anchor" name="ga12" doxytag="common.h::PRECT"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef <a class="el" href="struct__RECT.htm">RECT</a> * <a class="el" href="struct__RECT.htm">PRECT</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Data type of the pointer to a RECT. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__win32__types.htm#ga11">RECT</a> </dd></dl><p>Definition at line <a class="el" href="common_8h-source.htm#l00562">562</a> of file <a class="el" href="common_8h-source.htm">common.h</a>. </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -