{"id":7311,"date":"2015-04-03T17:24:00","date_gmt":"2015-04-03T08:24:00","guid":{"rendered":"http:\/\/www.webshare.co.kr\/?p=7311"},"modified":"2015-04-03T17:24:00","modified_gmt":"2015-04-03T08:24:00","slug":"ccpp-variant-%ed%83%80%ec%9e%85-%eb%8d%b0%ec%9d%b4%ed%84%b0","status":"publish","type":"post","link":"https:\/\/www.webshare.co.kr\/?p=7311","title":{"rendered":"[C\/CPP] Variant \ud0c0\uc785 \ub370\uc774\ud130"},"content":{"rendered":"<p><span style=\"font-size: 12pt;\">VARIANT\ud615 \ub370\uc774\ud130\uc5d0 \ub300\ud55c \uc815\ubcf4<\/span><\/p>\n<pre class=\"lang:c++ decode:true \">\/\/ parameter types: by value VTs\r\n#define VTS_I2 \"x02\" \/\/ a 'short'\r\n#define VTS_I4 \"x03\" \/\/ a 'long'\r\n#define VTS_R4 \"x04\" \/\/ a 'float'\r\n#define VTS_R8 \"x05\" \/\/ a 'double'\r\n#define VTS_CY \"x06\" \/\/ a 'CY' or 'CY*'\r\n#define VTS_DATE \"x07\" \/\/ a 'DATE'\r\n#define VTS_WBSTR \"x08\" \/\/ an 'LPCOLESTR'\r\n#define VTS_DISPATCH \"x09\" \/\/ an 'IDispatch*'\r\n#define VTS_SCODE \"x0A\" \/\/ an 'SCODE'\r\n#define VTS_BOOL \"x0B\" \/\/ a 'VARIANT_BOOL'\r\n#define VTS_VARIANT \"x0C\" \/\/ a 'const VARIANT&amp;' or 'VARIANT*'\r\n#define VTS_UNKNOWN \"x0D\" \/\/ an 'IUnknown*'\r\n#if defined(_UNICODE)\r\n#define VTS_BSTR VTS_WBSTR\/\/ an 'LPCOLESTR'\r\n#define VT_BSTRT VT_BSTR\r\n#else\r\n#define VTS_BSTR \"x0E\" \/\/ an 'LPCSTR'\r\n#define VT_BSTRA 14\r\n#define VT_BSTRT VT_BSTRA\r\n#endif\r\n#define VTS_I1 \"x10\" \/\/ a 'signed char'\r\n#define VTS_UI1 \"x11\" \/\/ a 'BYTE'\r\n#define VTS_UI2 \"x12\" \/\/ a 'WORD'\r\n#define VTS_UI4 \"x13\" \/\/ a 'DWORD'\r\n#define VTS_I8 \"x14\" \/\/ a 'LONGLONG'\r\n#define VTS_UI8 \"x15\" \/\/ a 'ULONGLONG'\r\n\/\/ parameter types: by reference VTs\r\n#define VTS_PI2 \"x42\" \/\/ a 'short*'\r\n#define VTS_PI4 \"x43\" \/\/ a 'long*'\r\n#define VTS_PR4 \"x44\" \/\/ a 'float*'\r\n#define VTS_PR8 \"x45\" \/\/ a 'double*'\r\n#define VTS_PCY \"x46\" \/\/ a 'CY*'\r\n#define VTS_PDATE \"x47\" \/\/ a 'DATE*'\r\n#define VTS_PBSTR \"x48\" \/\/ a 'BSTR*'\r\n#define VTS_PDISPATCH \"x49\" \/\/ an 'IDispatch**'\r\n#define VTS_PSCODE \"x4A\" \/\/ an 'SCODE*'\r\n#define VTS_PBOOL \"x4B\" \/\/ a 'VARIANT_BOOL*'\r\n#define VTS_PVARIANT \"x4C\" \/\/ a 'VARIANT*'\r\n#define VTS_PUNKNOWN \"x4D\" \/\/ an 'IUnknown**'\r\n#define VTS_PI1 \"x50\" \/\/ a 'signed char*'\r\n#define VTS_PUI1 \"x51\" \/\/ a 'BYTE*'\r\n#define VTS_PUI2 \"x52\" \/\/ a 'WORD*'\r\n#define VTS_PUI4 \"x53\" \/\/ a 'DWORD*'\r\n#define VTS_PI8 \"x54\" \/\/ a 'LONGLONG*'\r\n#define VTS_PUI8 \"x55\" \/\/ a 'ULONGLONG*'\r\n\/\/ special VT_ and VTS_ values\r\n#define VTS_NONE NULL \/\/ used for members with 0 params\r\n#define VT_MFCVALUE 0xFFF \/\/ special value for DISPID_VALUE\r\n#define VT_MFCBYREF 0x40 \/\/ indicates VT_BYREF type\r\n#define VT_MFCMARKER 0xFF \/\/ delimits named parameters (INTERNAL USE)\r\n\/\/ variant handling (use V_BSTRT when you have ANSI BSTRs, as in DAO)\r\n#ifndef _UNICODE\r\n#define V_BSTRT(b) (LPSTR)V_BSTR(b)\r\n#else\r\n#define V_BSTRT(b) V_BSTR(b)\r\n#endif\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\/\/ OLE control parameter types\r\n#define VTS_COLOR VTS_I4 \/\/ OLE_COLOR\r\n#define VTS_XPOS_PIXELS VTS_I4 \/\/ OLE_XPOS_PIXELS\r\n#define VTS_YPOS_PIXELS VTS_I4 \/\/ OLE_YPOS_PIXELS\r\n#define VTS_XSIZE_PIXELS VTS_I4 \/\/ OLE_XSIZE_PIXELS\r\n#define VTS_YSIZE_PIXELS VTS_I4 \/\/ OLE_YSIZE_PIXELS\r\n#define VTS_XPOS_HIMETRIC VTS_I4 \/\/ OLE_XPOS_HIMETRIC\r\n#define VTS_YPOS_HIMETRIC VTS_I4 \/\/ OLE_YPOS_HIMETRIC\r\n#define VTS_XSIZE_HIMETRIC VTS_I4 \/\/ OLE_XSIZE_HIMETRIC\r\n#define VTS_YSIZE_HIMETRIC VTS_I4 \/\/ OLE_YSIZE_HIMETRIC\r\n#define VTS_TRISTATE VTS_I2 \/\/ OLE_TRISTATE\r\n#define VTS_OPTEXCLUSIVE VTS_BOOL \/\/ OLE_OPTEXCLUSIVE\r\n#define VTS_PCOLOR VTS_PI4 \/\/ OLE_COLOR*\r\n#define VTS_PXPOS_PIXELS VTS_PI4 \/\/ OLE_XPOS_PIXELS*\r\n#define VTS_PYPOS_PIXELS VTS_PI4 \/\/ OLE_YPOS_PIXELS*\r\n#define VTS_PXSIZE_PIXELS VTS_PI4 \/\/ OLE_XSIZE_PIXELS*\r\n#define VTS_PYSIZE_PIXELS VTS_PI4 \/\/ OLE_YSIZE_PIXELS*\r\n#define VTS_PXPOS_HIMETRIC VTS_PI4 \/\/ OLE_XPOS_HIMETRIC*\r\n#define VTS_PYPOS_HIMETRIC VTS_PI4 \/\/ OLE_YPOS_HIMETRIC*\r\n#define VTS_PXSIZE_HIMETRIC VTS_PI4 \/\/ OLE_XSIZE_HIMETRIC*\r\n#define VTS_PYSIZE_HIMETRIC VTS_PI4 \/\/ OLE_YSIZE_HIMETRIC*\r\n#define VTS_PTRISTATE VTS_PI2 \/\/ OLE_TRISTATE*\r\n#define VTS_POPTEXCLUSIVE VTS_PBOOL \/\/ OLE_OPTEXCLUSIVE*\r\n#define VTS_FONT VTS_DISPATCH \/\/ IFontDispatch*\r\n#define VTS_PICTURE VTS_DISPATCH \/\/ IPictureDispatch*\r\n#define VTS_HANDLE VTS_I4 \/\/ OLE_HANDLE\r\n#define VTS_PHANDLE VTS_PI4 \/\/ OLE_HANDLE*<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>VARIANT\ud615 \ub370\uc774\ud130\uc5d0 \ub300\ud55c \uc815\ubcf4 \/\/ parameter types: by value VTs #define VTS_I2 &#8220;x02&#8221; \/\/ a &#8216;short&#8217; #define VTS_I4 &#8220;x03&#8221; \/\/ a &#8216;long&#8217; #define VTS_R4 &#8220;x04&#8221; \/\/ a &#8216;float&#8217; #define VTS_R8 &#8220;x05&#8221; \/\/ a &#8216;double&#8217; #define VTS_CY &#8220;x06&#8221; \/\/ a &#8216;CY&#8217; or &#8216;CY*&#8217; #define VTS_DATE &#8220;x07&#8221; \/\/ a &#8216;DATE&#8217; #define VTS_WBSTR &#8220;x08&#8221; \/\/ an &#8216;LPCOLESTR&#8217; #define [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[59],"tags":[],"class_list":["post-7311","post","type-post","status-publish","format-standard","hentry","category-cc-"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[C\/CPP] Variant \ud0c0\uc785 \ub370\uc774\ud130 - WEBSHARE<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webshare.co.kr\/?p=7311\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[C\/CPP] Variant \ud0c0\uc785 \ub370\uc774\ud130 - WEBSHARE\" \/>\n<meta property=\"og:description\" content=\"VARIANT\ud615 \ub370\uc774\ud130\uc5d0 \ub300\ud55c \uc815\ubcf4 \/\/ parameter types: by value VTs #define VTS_I2 &quot;x02&quot; \/\/ a &#039;short&#039; #define VTS_I4 &quot;x03&quot; \/\/ a &#039;long&#039; #define VTS_R4 &quot;x04&quot; \/\/ a &#039;float&#039; #define VTS_R8 &quot;x05&quot; \/\/ a &#039;double&#039; #define VTS_CY &quot;x06&quot; \/\/ a &#039;CY&#039; or &#039;CY*&#039; #define VTS_DATE &quot;x07&quot; \/\/ a &#039;DATE&#039; #define VTS_WBSTR &quot;x08&quot; \/\/ an &#039;LPCOLESTR&#039; #define [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webshare.co.kr\/?p=7311\" \/>\n<meta property=\"og:site_name\" content=\"WEBSHARE\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/at.in.story\" \/>\n<meta property=\"article:published_time\" content=\"2015-04-03T08:24:00+00:00\" \/>\n<meta name=\"author\" content=\"\uae40\uc8fc\ud658\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@kasthe88\" \/>\n<meta name=\"twitter:site\" content=\"@kasthe88\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"\uae40\uc8fc\ud658\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webshare.co.kr\/?p=7311\",\"url\":\"https:\/\/www.webshare.co.kr\/?p=7311\",\"name\":\"[C\/CPP] Variant \ud0c0\uc785 \ub370\uc774\ud130 - WEBSHARE\",\"isPartOf\":{\"@id\":\"https:\/\/www.webshare.co.kr\/#website\"},\"datePublished\":\"2015-04-03T08:24:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.webshare.co.kr\/#\/schema\/person\/9e983879292f0da0f456d086e9711751\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.webshare.co.kr\/?p=7311#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webshare.co.kr\/?p=7311\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webshare.co.kr\/?p=7311#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webshare.co.kr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[C\/CPP] Variant \ud0c0\uc785 \ub370\uc774\ud130\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webshare.co.kr\/#website\",\"url\":\"https:\/\/www.webshare.co.kr\/\",\"name\":\"WEBSHARE\",\"description\":\"\ucda4\ucd94\ub294 \ud504\ub85c\uadf8\ub798\uba38\uc758 \ube14\ub85c\uadf8\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webshare.co.kr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webshare.co.kr\/#\/schema\/person\/9e983879292f0da0f456d086e9711751\",\"name\":\"\uae40\uc8fc\ud658\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.webshare.co.kr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d41231d1bc4cf3b9d09da2a1cb107802e2a82fc6f80bf0668f70c3dd963e9699?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d41231d1bc4cf3b9d09da2a1cb107802e2a82fc6f80bf0668f70c3dd963e9699?s=96&d=mm&r=pg\",\"caption\":\"\uae40\uc8fc\ud658\"},\"sameAs\":[\"http:\/\/www.atfolio.co.kr\"],\"url\":\"https:\/\/www.webshare.co.kr\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[C\/CPP] Variant \ud0c0\uc785 \ub370\uc774\ud130 - WEBSHARE","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webshare.co.kr\/?p=7311","og_locale":"ko_KR","og_type":"article","og_title":"[C\/CPP] Variant \ud0c0\uc785 \ub370\uc774\ud130 - WEBSHARE","og_description":"VARIANT\ud615 \ub370\uc774\ud130\uc5d0 \ub300\ud55c \uc815\ubcf4 \/\/ parameter types: by value VTs #define VTS_I2 \"x02\" \/\/ a 'short' #define VTS_I4 \"x03\" \/\/ a 'long' #define VTS_R4 \"x04\" \/\/ a 'float' #define VTS_R8 \"x05\" \/\/ a 'double' #define VTS_CY \"x06\" \/\/ a 'CY' or 'CY*' #define VTS_DATE \"x07\" \/\/ a 'DATE' #define VTS_WBSTR \"x08\" \/\/ an 'LPCOLESTR' #define [&hellip;]","og_url":"https:\/\/www.webshare.co.kr\/?p=7311","og_site_name":"WEBSHARE","article_publisher":"https:\/\/www.facebook.com\/at.in.story","article_published_time":"2015-04-03T08:24:00+00:00","author":"\uae40\uc8fc\ud658","twitter_card":"summary_large_image","twitter_creator":"@kasthe88","twitter_site":"@kasthe88","twitter_misc":{"\uae00\uc4f4\uc774":"\uae40\uc8fc\ud658","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"3\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.webshare.co.kr\/?p=7311","url":"https:\/\/www.webshare.co.kr\/?p=7311","name":"[C\/CPP] Variant \ud0c0\uc785 \ub370\uc774\ud130 - WEBSHARE","isPartOf":{"@id":"https:\/\/www.webshare.co.kr\/#website"},"datePublished":"2015-04-03T08:24:00+00:00","author":{"@id":"https:\/\/www.webshare.co.kr\/#\/schema\/person\/9e983879292f0da0f456d086e9711751"},"breadcrumb":{"@id":"https:\/\/www.webshare.co.kr\/?p=7311#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webshare.co.kr\/?p=7311"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webshare.co.kr\/?p=7311#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webshare.co.kr\/"},{"@type":"ListItem","position":2,"name":"[C\/CPP] Variant \ud0c0\uc785 \ub370\uc774\ud130"}]},{"@type":"WebSite","@id":"https:\/\/www.webshare.co.kr\/#website","url":"https:\/\/www.webshare.co.kr\/","name":"WEBSHARE","description":"\ucda4\ucd94\ub294 \ud504\ub85c\uadf8\ub798\uba38\uc758 \ube14\ub85c\uadf8","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webshare.co.kr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/www.webshare.co.kr\/#\/schema\/person\/9e983879292f0da0f456d086e9711751","name":"\uae40\uc8fc\ud658","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.webshare.co.kr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d41231d1bc4cf3b9d09da2a1cb107802e2a82fc6f80bf0668f70c3dd963e9699?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d41231d1bc4cf3b9d09da2a1cb107802e2a82fc6f80bf0668f70c3dd963e9699?s=96&d=mm&r=pg","caption":"\uae40\uc8fc\ud658"},"sameAs":["http:\/\/www.atfolio.co.kr"],"url":"https:\/\/www.webshare.co.kr\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5iVrd-1TV","_links":{"self":[{"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7311"}],"version-history":[{"count":1,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7311\/revisions"}],"predecessor-version":[{"id":7312,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7311\/revisions\/7312"}],"wp:attachment":[{"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webshare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}