Skip to content

Commit d43639c

Browse files
committed
Merged PR 17245: Fix list formatting in pszName
Fix list formatting in pszName
1 parent f542531 commit d43639c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

sdk-api-src/content/commctrl/nf-commctrl-loadiconmetric.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ A pointer to a null-terminated, Unicode buffer that contains location informatio
7474

7575
If <i>hinst</i> is <b>NULL</b>, <i>pszName</i> can specify one of two things.
7676

77-
The identifier of a predefined icon to load. These identifiers are recognized.
78-
7977
<ol>
78+
<li>The name of a standalone icon (.ico) file.</li>
79+
<li>The identifier of a predefined icon to load. These identifiers are recognized:</li>
80+
81+
<ul>
8082
<li>IDI_APPLICATION</li>
8183
<li>IDI_INFORMATION</li>
8284
<li>IDI_ERROR</li>
@@ -85,9 +87,9 @@ The identifier of a predefined icon to load. These identifiers are recognized.
8587
<li>IDI_QUESTION
8688

8789
To pass these constants to the <b>LoadIconMetric</b> function, use the <a href="/windows/desktop/api/winuser/nf-winuser-makeintresourcea">MAKEINTRESOURCE</a> macro. For example, to load the IDI_ERROR icon, pass <code>MAKEINTRESOURCE(IDI_ERROR)</code> as the <i>pszName</i> parameter and <b>NULL</b> as the <i>hinst</i> parameter.
88-
89-
<li>The name of a standalone icon (.ico) file.</li>
90+
</ul>
9091
</ol>
92+
9193
If <i>hinst</i> is non-null, <i>pszName</i> can specify one of two things.
9294

9395
<ol>

0 commit comments

Comments
 (0)