{"id":107,"date":"2010-04-17T22:52:49","date_gmt":"2010-04-18T07:52:49","guid":{"rendered":"\/blog\/?p=107"},"modified":"2023-09-21T09:41:15","modified_gmt":"2023-09-21T00:41:15","slug":"shellapi-%ed%95%a8%ec%88%98-extracticonex","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=107","title":{"rendered":"ShellAPI \ud568\uc218 ExtractIconEX()"},"content":{"rendered":"\n<P><FONT face=\"GulimChe, Sans-serif\">ShellAPI \ud568\uc218 ExtractIconEX()<br \/>&nbsp;ShellAPI \ud568\uc218\uc778 ExtracIconEx() \ub294 \uc2e4\ud589 \ud30c\uc77c, \ub3d9\uc801 \ub9c1\ud06c \ub77c\uc774\ube0c\ub7ec\ub9ac(DLL) \ub610\ub294 \uc544\uc774\ucf58 \ud30c\uc77c\uc5d0 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. <br \/>&nbsp;\ub2e4\uc74c\uc740 \ud568\uc218\uc5d0 \ub300\ud55c \uc815\uc758\uc774\ub2e4. <\/FONT><\/P>\n<P><br \/><FONT face=\"GulimChe, Sans-serif\">Function ExtractIconEx(lpszFile : PAnsiChar; <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; nIconIndex : Integer; <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; phiconLarge : PhIconArray; <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; phiconSmall : PhIconArray; <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; nIcons : UNIT) : UNIT ; stdcall; <\/FONT><\/P>\n<P><br \/><FONT face=\"GulimChe, Sans-serif\">\ub2e4\uc74c\uc740 \ub9e4\uac1c\ubcc0\uc218\ub97c \uc124\uba85\ud560 \uac83\uc774\ub2e4. <\/FONT><\/P>\n<P><br \/><FONT face=\"GulimChe, Sans-serif\">--------------------------------------------------------------------- <br \/>\ub9e4\uac1c\ubcc0\uc218 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; \uc124\uba85 <br \/>--------------------------------------------------------------------- <br \/>lpszFile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; \uc544\uc774\ucf58\uc744 \ucd94\ucd9c\ud558\ub824\ub294 \uc2e4\ud589 \ud30c\uc77c, DLL, \ub610\ub294 \uc544\uc774\ucf58 \ud30c\uc77c\uc758 \uc774\ub984\uc744 Null <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \uc885\ub8cc \ubb38\uc790\uc5f4\ub85c \uc815\uc758\ud558\ub294 \ud3ec\uc778\ud130. <\/FONT><\/P>\n<P><br \/><FONT face=\"GulimChe, Sans-serif\">nIconIndex &nbsp; &nbsp; &nbsp;&nbsp; \uc544\uc774\ucf58\uc758 \uc778\ub371\uc2a4\ub97c \uc815\uc758\ud55c\ub2e4. \ub9cc\uc57d \uac12\uc774 0\uc774\ub77c\uba74 \ud568\uc218\ub294 \uc815\uc758\ub41c \ud30c\uc77c\uc5d0 \ub300 <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \ud574\uc11c \uccab \ubc88\uc9f8 \uc544\uc774\ucf58\uc758 \ud578\ub4e4\uc744 \ub9ac\ud134\ud55c\ub2e4. \uac12\uc774 -1\uc774\ub77c\uba74, \uadf8\ub9ac\uace0 <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; phiconLarge \uacfc phiconSmall \uc774 \ubaa8\ub4e0 nil \uc774\ub77c\uba74 \ud568\uc218\ub294 \uc2e4\ud589 \ud30c\uc77c, dll, \ub610 <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \ub294 \uc544\uc774\ucf58 \ud30c\uc77c\uc5d0 \uc544\uc774\ucf58\uc758 \ucd1d \uc218\ub97c \ub9ac\ud134\ud55c\ub2e4. \ud30c\uc77c\uc774 \uc2e4\ud589\ud30c\uc77c\uc774\uac70\ub098 <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DLL\uc774\ub77c\uba74 \ub9ac\ud134 \uac12\uc740 RT_GROUP_ICON \ub9ac\uc18c\uc2a4\ub4e4\uc758 \uc218\uc774\ub2e4. \ub9cc\uc57d .ICO <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; \ub77c\uba74 \ub9ac\ud134 \uac12\uc740 1\uc774\ub2e4. <\/FONT><\/P>\n<P><br \/><FONT face=\"GulimChe, Sans-serif\">phiconLarge &nbsp; &nbsp;&nbsp; \ud070 \uc544\uc774\ucf58\uc5d0 \ub300\ud55c \uc544\uc774\ucf58 \ud578\ub4e4\ub4e4\uc5d0 \ub300\ud55c \ubc30\uc5f4 \ud3ec\uc778\ud130\ub85c \uc774 \ub9e4\uac1c\ubcc0\uc218\ub294 \uc624 <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; \uc9c1 \ud55c \uac1c\uc758 \uc544\uc774\ucf58\uc774 \ucd94\ucd9c\ub418\uba74 nil \uac12\uc744 \uac00\uc9c8 \uc218 \uc788\ub2e4. <\/FONT><\/P>\n<P><br \/><FONT face=\"GulimChe, Sans-serif\">nIcons &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; \uc544\uc774\ucf58\uc758 \uc218\ub97c \uc815\uc758\ud55c\ub2e4. <\/FONT><\/P>\n<P><br \/><FONT face=\"GulimChe, Sans-serif\">Return Value &nbsp; &nbsp; \ub9ac\ud134 \uac12\uc740 \uc624\uc9c1 \ud55c \uac1c\uc758 \uc544\uc774\ucf58\uc774\ub77c\uba74 \uc544\uc774\ucf58\uc5d0 \ub300\ud55c \ud578\ub4e4\uc774\ub2e4. \uadf8\ub9ac\uace0 \ud30c <br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\uc77c\uc5d0\uc11c \uc5b4\ub5a4 \uc544\uc774\ucf58\ub3c4 \ucc3e\uc744 \uc218 \uc5c6\ub2e4\uba74 \ub9ac\ud134 \uac12\uc740 0\uc774\ub2e4. <br \/>--------------------------------------------------------------------- <\/FONT><\/P>\n","protected":false},"excerpt":{"rendered":"<p>ShellAPI \ud568\uc218 ExtractIconEX()&nbsp;ShellAPI \ud568\uc218\uc778 ExtracIconEx() \ub294 \uc2e4\ud589 \ud30c\uc77c, \ub3d9\uc801 \ub9c1\ud06c \ub77c\uc774\ube0c\ub7ec\ub9ac(DLL) \ub610\ub294 \uc544\uc774\ucf58 \ud30c\uc77c\uc5d0 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. &nbsp;\ub2e4\uc74c\uc740 \ud568\uc218\uc5d0 \ub300\ud55c \uc815\uc758\uc774\ub2e4. Function ExtractIconEx(lpszFile : PAnsiChar; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; nIconIndex : Integer; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; phiconLarge : PhIconArray; &nbsp; &nbsp; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[18],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-development_language"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=107"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/107\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}