<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>egggarden</author_name>
  <author_url>https://blog.hatena.ne.jp/egggarden/</author_url>
  <blog_title>やや温め納豆</blog_title>
  <blog_url>https://egggarden.hatenadiary.org/</blog_url>
  <categories>
    <anon>Win32</anon>
  </categories>
  <description>UNICODE_STRING は &quot;might not be null terminated.&quot; だから lstrcpyW を使うとシパン、lstrcpynW を使うとシパンもしくはゴミを拾ってしまう。文字列部分を引っ張ってくるには、こんな感じにするといいかな。 UNICODE_STRING ustring; // ... wchar_t w[260]; memcpy_s(modulePath, RTL_NUMBER_OF(w)*sizeof(wchar_t), ustring.Buffer, ustring.Length); w[ustring.Length / sizeof(wchar_t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fegggarden.hatenadiary.org%2Fentry%2F20080329%2F1206802870&quot; title=&quot;UNICODE_STRING to wchar_t - やや温め納豆&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-03-29 00:01:10</published>
  <title>UNICODE_STRING to wchar_t</title>
  <type>rich</type>
  <url>https://egggarden.hatenadiary.org/entry/20080329/1206802870</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
