UpdateResource ÇÔ¼ö¸¦ Ãß°¡, »èÁ¦ ¶Ç´Â ½ÇÇà ÆÄÀÏ¿¡ ¸®¼Ò½º¸¦ ´ëü.
(BOOL UpdateResource ó¸® hUpdate, / / ¾÷µ¥ÀÌÆ® ÆÄÀÏ Ã³¸®LPCTSTRlpType, / / ¾÷µ¥ÀÌÆ® ¸®¼Ò½ºÀÇ ÁÖ¼Ò¸¦ ÀÔ·ÂLPCTSTRlpName, / / ¸®¼Ò½ºÀÇ ÁÖ¼Ò¸¦ ¾÷µ¥ÀÌÆ® À̸§´Ü¾îwLanguage, / / ÀÚ¿øÀÇ ¾ð¾î ½Äº°ÀÚLPVOIDlpData, / / ÁÖ¼Ò ÀÚ¿ø µ¥ÀÌÅÍDWORDcbData / / ¸®¼Ò½º µ¥ÀÌÅÍ ¹ÙÀÌÆ®¿¡¼ÀÇ ±æÀÌ);
°ª | ÀÇ¹Ì |
---|---|
RT_ACCELERATOR | ¾×¼¿·¯·¹ÀÌÅÍ Å° Å×À̺í |
RT_ANICURSOR | ¾Ö´Ï¸ÞÀÌ¼ÇµÈ Ä¿¼ |
RT_ANIICON | ¾Ö´Ï¸ÞÀÌ¼ÇµÈ ¾ÆÀÌÄÜ |
RT_BITMAP | ºñÆ®¸Ê ¸®¼Ò½º |
RT_CURSOR | Çϵå¿þ¾î Á¾¼Ó Ä¿¼ ¸®¼Ò½º |
RT_DIALOG | ´ëÈ »óÀÚ |
RT_FONT | ±Û²Ã ¸®¼Ò½º |
RT_FONTDIR | ±Û²Ã µð·ºÅ͸® ¸®¼Ò½º |
RT_GROUP_CURSOR | Çϵå¿þ¾î µ¶¸³ÀûÀÎ Ä¿¼ ¸®¼Ò½º |
RT_GROUP_ICON | Çϵå¿þ¾î µ¶¸³ÀûÀÎ ¾ÆÀÌÄÜ ¸®¼Ò½º |
RT_HTML | HTML ¹®¼ |
RT_ICON | Çϵå¿þ¾î Á¾¼Ó ¾ÆÀÌÄÜ ¸®¼Ò½º |
RT_MENU | ¸Þ´º ¸®¼Ò½º |
RT_MESSAGETABLE | ¸Þ½ÃÁö Å×À̺í Ç׸ñ |
RT_RCDATA | ÀÀ¿ë ÇÁ·Î±×·¥ Á¤ÀÇ ¸®¼Ò½º (raw data) |
RT_STRING | ¹®ÀÚ¿ Å×À̺í Ç׸ñ |
RT_VERSION | ¹öÀü ¸®¼Ò½º |
ÁöÁ¤µÈ µÈ ¸®¼Ò½º ½ÇÇà ÆÄÀÏ¿¡¼ »èÁ¦ µË´Ï´Ù lpData ÀÌ NULL ÀÎ °æ¿ì.
ÇÔ¼ö°¡ ¼º°ø ÇÏ¸é ¹Ýȯ °ªÀº 0ÀÌ ¾Æ´Ñ.
ÇÔ¼ö°¡ ½ÇÆÐ ÇÏ¸é ¹Ýȯ °ªÀº 0ÀÔ´Ï´Ù. È®Àå µÈ ¿À·ù Á¤º¸¸¦ ¾òÀ» ÇÏ·Á¸é GetLastError.
ÀÀ¿ë ÇÁ·Î±×·¥ ¸®¼Ò½º µ¥ÀÌÅ͸¦ º¯°æ ÇÏ·Á¸é UpdateResource ¸¦ ¹Ýº¹ÀûÀ¸·Î »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. UpdateResource ¸¦ È£ÃâÇÒ ¶§¸¶´Ù Ãß°¡, »èÁ¦ ¹× ±³Ã¼ÀÇ ³»ºÎ ¸ñ·Ï¿¡ ±â¿© ÇÏÁö¸¸ ½ÇÇà ÆÄÀÏ¿¡ µ¥ÀÌÅ͸¦ ½ÇÁ¦·Î ÀÛ¼º ÇÏÁö ¾Ê½À´Ï´Ù. ÀÀ¿ë ÇÁ·Î±×·¥ ½ÇÇà ÆÄÀÏ¿¡ ´©Àû µÈ º¯°æ ³»¿ëÀ» ¾µ EndUpdateResource ÇÔ¼ö¸¦ »ç¿ë ÇØ¾ß ÇÕ´Ï´Ù.
nbsp;?Windows &NT: ¹öÀü 3.1 ÀÌ»óÀÌ ÇÊ¿ä ÇÕ´Ï´Ù.
Windows:Áö¿ø µÇÁö ¾Ê½À´Ï´Ù.
Windows CE:Áö¿ø µÇÁö ¾Ê½À´Ï´Ù.
Çì´õ:Winbase.h¿¡ ¼±¾ð ÇÕ´Ï´Ù.
°¡Á®¿À±â ¶óÀ̺귯¸®:Kernel32.lib¸¦ »ç¿ë ÇÕ´Ï´Ù.
À¯´ÏÄÚµå:Windows NT¿¡¼ À¯´ÏÄÚµå¿Í ANSI ¹öÀüÀ¸·Î ±¸Çö.
¸®¼Ò½º °³¿ä, ÀÚ¿ø ±â´É, BeginUpdateResource, EndUpdateResource, LoadIcon, LoadString, LockResource, MAKEINTRESOURCE, MAKELANGID, SizeofResource