﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-溪流漫话-随笔分类-Issues</title><link>http://www.cppblog.com/Streamlet/category/20136.html</link><description>荒废中，求警醒~</description><language>zh-cn</language><lastBuildDate>Thu, 24 Sep 2020 01:59:17 GMT</lastBuildDate><pubDate>Thu, 24 Sep 2020 01:59:17 GMT</pubDate><ttl>60</ttl><item><title>Win10的OneDrive目录在旧系统里无法访问、删不掉</title><link>http://www.cppblog.com/Streamlet/archive/2020/09/20/217461.html</link><dc:creator>溪流</dc:creator><author>溪流</author><pubDate>Sun, 20 Sep 2020 05:47:00 GMT</pubDate><guid>http://www.cppblog.com/Streamlet/archive/2020/09/20/217461.html</guid><wfw:comment>http://www.cppblog.com/Streamlet/comments/217461.html</wfw:comment><comments>http://www.cppblog.com/Streamlet/archive/2020/09/20/217461.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/Streamlet/comments/commentRss/217461.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Streamlet/services/trackbacks/217461.html</trackback:ping><description><![CDATA[<p>近日又一次忍不了Win10的傻逼了，把主要设备降级回 Win8.1 了，配合 StartIsBack 以及 AeroGlass 使用。之所以没降级回 Win7，是因为当年买的大 Surface，只能 UEFI 启动。于是所有系统都 Win8.1 吧。当然 Metro 是不使用的。</p> <p>就看傻逼大微软什么时候才能从 Metro、UWP 回头，不然我只能当微软一辈子黑了。</p> <p>然后没想到过程中还有惊喜！我习惯把 OneDrive 目录放到 D 盘，这样每次换系统就不用重新下载文件了。这回换到 Win8.1 后，发现 D:\OneDrive 无法访问了，且不是 NTFS 权限的问题，且无法改权限。估计在文件系统里搞了什么手脚。搞了好久搞不定，只能升级到 Win10，再复制一个备份，再删掉。</p> <p>特此提醒广大人民群众注意。</p> <p>（原发于 GutHub Pages，2018-10-13 13:43:05）</p><img src ="http://www.cppblog.com/Streamlet/aggbug/217461.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Streamlet/" target="_blank">溪流</a> 2020-09-20 13:47 <a href="http://www.cppblog.com/Streamlet/archive/2020/09/20/217461.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>UpdateLayeredWindow在远程协助下失败的问题</title><link>http://www.cppblog.com/Streamlet/archive/2013/01/18/197382.html</link><dc:creator>溪流</dc:creator><author>溪流</author><pubDate>Fri, 18 Jan 2013 03:33:00 GMT</pubDate><guid>http://www.cppblog.com/Streamlet/archive/2013/01/18/197382.html</guid><wfw:comment>http://www.cppblog.com/Streamlet/comments/197382.html</wfw:comment><comments>http://www.cppblog.com/Streamlet/archive/2013/01/18/197382.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/Streamlet/comments/commentRss/197382.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Streamlet/services/trackbacks/197382.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 最近遇到UpdateLayeredWindow在远程协助下会失败，但是GetLastError返回0。 后来看了http://blog.csdn.net/debehe/article/details/4767472，解决了，记一笔。 原代码：      void Update() { &nbsp;&nbsp;&nbsp; CDC dc = GetDC(m_hWnd); &nbsp;&nbsp;&n...&nbsp;&nbsp;<a href='http://www.cppblog.com/Streamlet/archive/2013/01/18/197382.html'>阅读全文</a><img src ="http://www.cppblog.com/Streamlet/aggbug/197382.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Streamlet/" target="_blank">溪流</a> 2013-01-18 11:33 <a href="http://www.cppblog.com/Streamlet/archive/2013/01/18/197382.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>GDI+ DrawImage拉伸时右边缘和下边缘被渐变透明的问题</title><link>http://www.cppblog.com/Streamlet/archive/2012/11/13/195112.html</link><dc:creator>溪流</dc:creator><author>溪流</author><pubDate>Tue, 13 Nov 2012 06:49:00 GMT</pubDate><guid>http://www.cppblog.com/Streamlet/archive/2012/11/13/195112.html</guid><wfw:comment>http://www.cppblog.com/Streamlet/comments/195112.html</wfw:comment><comments>http://www.cppblog.com/Streamlet/archive/2012/11/13/195112.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/Streamlet/comments/commentRss/195112.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Streamlet/services/trackbacks/195112.html</trackback:ping><description><![CDATA[<p>如题，1*1的图片拉伸会被弄成：</p> <p><a href="http://www.cppblog.com/images/cppblog_com/Streamlet/Windows-Live-Writer/GDI-DrawImage_CEA2/image_2.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://www.cppblog.com/images/cppblog_com/Streamlet/Windows-Live-Writer/GDI-DrawImage_CEA2/image_thumb.png" width="185" height="177"></a></p> <p>&nbsp;</p> <p>2*2的会被弄成：</p> <p><a href="http://www.cppblog.com/images/cppblog_com/Streamlet/Windows-Live-Writer/GDI-DrawImage_CEA2/image_4.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://www.cppblog.com/images/cppblog_com/Streamlet/Windows-Live-Writer/GDI-DrawImage_CEA2/image_thumb_1.png" width="172" height="163"></a></p> <p>&nbsp;</p> <p>更大的图片，表现为右边缘和下边缘渐变：</p> <p><a href="http://www.cppblog.com/images/cppblog_com/Streamlet/Windows-Live-Writer/GDI-DrawImage_CEA2/image_6.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://www.cppblog.com/images/cppblog_com/Streamlet/Windows-Live-Writer/GDI-DrawImage_CEA2/image_thumb_2.png" width="199" height="141"></a></p> <p>&nbsp;</p> <p>GDI+自作聪明了……</p> <p>&nbsp;</p> <p>解决方法：</p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2b91af"><font style="font-size: 9.5pt">Graphics</font></font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt"> g;</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">g.SetInterpolationMode(InterpolationModeNearestNeighbor);</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">g.SetPixelOffsetMode(PixelOffsetModeHalf);</font></font></span></p>  <p>效果：</p> <p><a href="http://www.cppblog.com/images/cppblog_com/Streamlet/Windows-Live-Writer/GDI-DrawImage_CEA2/image_8.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://www.cppblog.com/images/cppblog_com/Streamlet/Windows-Live-Writer/GDI-DrawImage_CEA2/image_thumb_3.png" width="177" height="132"></a></p> <p>&nbsp;</p> <p>特此记录。</p> <p>参考资料：<a title="http://bbs.csdn.net/topics/310212346" href="http://bbs.csdn.net/topics/310212346" target="_blank">http://bbs.csdn.net/topics/310212346</a></p><img src ="http://www.cppblog.com/Streamlet/aggbug/195112.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Streamlet/" target="_blank">溪流</a> 2012-11-13 14:49 <a href="http://www.cppblog.com/Streamlet/archive/2012/11/13/195112.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>VBScript脚本无法运行的解决方案</title><link>http://www.cppblog.com/Streamlet/archive/2012/10/25/193835.html</link><dc:creator>溪流</dc:creator><author>溪流</author><pubDate>Thu, 25 Oct 2012 05:55:00 GMT</pubDate><guid>http://www.cppblog.com/Streamlet/archive/2012/10/25/193835.html</guid><wfw:comment>http://www.cppblog.com/Streamlet/comments/193835.html</wfw:comment><comments>http://www.cppblog.com/Streamlet/archive/2012/10/25/193835.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/Streamlet/comments/commentRss/193835.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Streamlet/services/trackbacks/193835.html</trackback:ping><description><![CDATA[<p>现象——</p> <p>运行任何 .vbs 脚本，Windows Script Host 提示 <font color="#0000ff">找不到脚本“xxx.vbs”的脚本引擎“VBScript”</font>。</p> <p>网页中的 vbscript 脚本无响应，也无任何报错。</p> <p>&nbsp;</p> <p>解决方案——</p> <p>检查以下三个注册表项：</p> <p>HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32</p> <p>HKEY_CLASSES_ROOT\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32</p> <p>HKEY_CLASSES_ROOT\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32</p> <p>将默认值改为C:\Windows\System32\VBScript.dll</p> <p>&nbsp;</p> <p>已知可能的原因：</p> <p>瑞星安装的时候会修改这三项，将所有VBS脚本截到自己的一个DLL。如果没有正确卸载，可能导致这三项没有更改回来。</p> <p>&nbsp;</p> <p>参考资料：</p> <p><a title="http://coldsummerwei.iteye.com/blog/940012" href="http://coldsummerwei.iteye.com/blog/940012" target="_blank">http://coldsummerwei.iteye.com/blog/940012</a></p> <p><a title="http://blogs.technet.com/b/instan/archive/2010/07/20/can-t-find-script-engine-quot-vbscript-quot-for-script-after-installing-ms10-020.aspx" href="http://blogs.technet.com/b/instan/archive/2010/07/20/can-t-find-script-engine-quot-vbscript-quot-for-script-after-installing-ms10-020.aspx" target="_blank">http://blogs.technet.com/b/instan/archive/2010/07/20/can-t-find-script-engine-quot-vbscript-quot-for-script-after-installing-ms10-020.aspx</a></p><img src ="http://www.cppblog.com/Streamlet/aggbug/193835.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Streamlet/" target="_blank">溪流</a> 2012-10-25 13:55 <a href="http://www.cppblog.com/Streamlet/archive/2012/10/25/193835.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>IE保护模式下ActiveX控件打不开共享内存的解决方案</title><link>http://www.cppblog.com/Streamlet/archive/2012/10/25/193831.html</link><dc:creator>溪流</dc:creator><author>溪流</author><pubDate>Thu, 25 Oct 2012 05:01:00 GMT</pubDate><guid>http://www.cppblog.com/Streamlet/archive/2012/10/25/193831.html</guid><wfw:comment>http://www.cppblog.com/Streamlet/comments/193831.html</wfw:comment><comments>http://www.cppblog.com/Streamlet/archive/2012/10/25/193831.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/Streamlet/comments/commentRss/193831.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Streamlet/services/trackbacks/193831.html</trackback:ping><description><![CDATA[<p>IE保护模式下，ActiveX控件会打不开别的进程创建的共享内存，原因是IE运行在低完整性级别权限下，一般应用程序运行在中完整性级别。别的应用程序创建的共享内存，即使赋予Everyone权限，ActiveX控件仍然会打不开。</p> <p>解决方案：创建共享内存的时候，设置下完整性级别：</p> <table cellspacing="0" cellpadding="2" width="611" border="0"> <tbody> <tr> <td valign="top" width="609"> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#0000ff"><font style="font-size: 9.5pt">bool</font></font></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> SetLowLabelToKernelObject(</span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2b91af">LPCTSTR</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> </span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#808080">lpszObjectName</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">)</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">{</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt" color="#008000">// See http://msdn.microsoft.com/en-us/library/bb625960.aspx</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">&nbsp;</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt" color="#008000">// The LABEL_SECURITY_INFORMATION SDDL SACL to be set for low integrity</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2b91af">LPCTSTR</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> LOW_INTEGRITY_SDDL_SACL = </span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">_T</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt">(</span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#a31515">"S:(ML;;NW;;;LW)"</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">);</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2b91af">PSECURITY_DESCRIPTOR</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> pSD = </span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">NULL</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">;</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">&nbsp;</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#0000ff">if</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> (!</span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">ConvertStringSecurityDescriptorToSecurityDescriptor</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">(LOW_INTEGRITY_SDDL_SACL,</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">SDDL_REVISION_1</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">,</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font style="font-size: 9.5pt">&amp;pSD,</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">NULL</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">))</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span><font style="font-size: 9.5pt">{</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#0000ff">return</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> </span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#0000ff">false</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">;</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span><font style="font-size: 9.5pt">}</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">&nbsp;</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-tab-count: 1"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">LOKI_ON_BLOCK_EXIT</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">(LocalFree, pSD);</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">&nbsp;</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2b91af">PACL</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> pSacl = </span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">NULL</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">;</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2b91af">BOOL</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> fSaclPresent = </span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">FALSE</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">;</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2b91af">BOOL</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> fSaclDefaulted = </span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">FALSE</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">;</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">&nbsp;</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#0000ff">if</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt"> (!GetSecurityDescriptorSacl(pSD, &amp;fSaclPresent, &amp;pSacl, &amp;fSaclDefaulted))</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span><font style="font-size: 9.5pt">{</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#0000ff">return</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> </span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#0000ff">false</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">;</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span><font style="font-size: 9.5pt">}</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">&nbsp;</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt" color="#008000">// Note that psidOwner, psidGroup, and pDacl are all NULL and set the new LABEL_SECURITY_INFORMATION</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2b91af">DWORD</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> dwError = SetNamedSecurityInfoW((</span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2b91af">LPTSTR</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt">)</span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#808080">lpszObjectName</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">,</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#2f4f4f">SE_KERNEL_OBJECT</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">,</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">LABEL_SECURITY_INFORMATION</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">,</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">NULL</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">,</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">NULL</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">,</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">NULL</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">,</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span><font style="font-size: 9.5pt">pSacl);</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">&nbsp;</font></font></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><font face="Consolas"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><span style="mso-spacerun: yes"><font style="font-size: 9.5pt">&nbsp;&nbsp;&nbsp; </font></span></span><font style="font-size: 9.5pt"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#0000ff">return</font></span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"> dwError == </span><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font color="#6f008a">ERROR_SUCCESS</font></span></font><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font style="font-size: 9.5pt">;</font></span></font></p> <p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left"><span lang="EN-US" style="font-family: ; background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: ; mso-highlight: white; mso-font-kerning: 0pt"><font face="Consolas"><font style="font-size: 9.5pt">}</font></font></span></p></td></tr></tbody></table> <p>参考资料：</p> <p><a title="http://www.microsoft.com/china/msdn/library/webservices/WebApp/ProtectedMode.mspx?mfr=true" href="http://www.microsoft.com/china/msdn/library/webservices/WebApp/ProtectedMode.mspx?mfr=true" target="_blank">http://www.microsoft.com/china/msdn/library/webservices/WebApp/ProtectedMode.mspx?mfr=true</a></p> <p><a title="http://www.cnblogs.com/jcss2008/archive/2009/06/06/1497528.html" href="http://www.cnblogs.com/jcss2008/archive/2009/06/06/1497528.html" target="_blank">http://www.cnblogs.com/jcss2008/archive/2009/06/06/1497528.html</a></p><img src ="http://www.cppblog.com/Streamlet/aggbug/193831.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Streamlet/" target="_blank">溪流</a> 2012-10-25 13:01 <a href="http://www.cppblog.com/Streamlet/archive/2012/10/25/193831.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>