{"id":276,"date":"2026-10-31T12:03:39","date_gmt":"2026-10-31T04:03:39","guid":{"rendered":"http:\/\/laoke.pw\/?p=276"},"modified":"2026-10-31T12:03:39","modified_gmt":"2026-10-31T04:03:39","slug":"238-contextmenumanager-%e7%bb%99%e5%8f%b3%e9%94%ae%e8%8f%9c%e5%8d%95%e5%81%9a%e4%b8%80%e6%ac%a1%e6%96%ad%e8%88%8d%e7%a6%bb","status":"publish","type":"post","link":"https:\/\/laoke.pw\/?p=276","title":{"rendered":"238 ContextMenuManager \u2014\u2014 \u7ed9\u53f3\u952e\u83dc\u5355\u505a\u4e00\u6b21\u65ad\u820d\u79bb"},"content":{"rendered":"<p><strong>\u4e00\u53e5\u8bdd\u5b9a\u4f4d<\/strong>\uff1aContextMenuManager \u662f\u4e00\u4e2a\u7eff\u8272\u5355\u6587\u4ef6\u7684\u5c0f\u5de5\u5177\uff0c\u628a Windows \u53f3\u952e\u83dc\u5355\u91cc\u90a3\u4e9b\u7528\u4e0d\u4e0a\u7684\u9879\u76ee\u4e00\u4e2a\u4e2a\u5173\u6389\uff0c\u800c\u4e14\u968f\u65f6\u80fd\u5f00\u56de\u6765\u3002<\/p>\n<h2>\u75db\u70b9\uff1a\u53f3\u952e\u83dc\u5355\u662f\u4e00\u53f0\u673a\u5668\u7684\u88c5\u4fee\u6b8b\u7559<\/h2>\n<p>\u7528\u4e00\u53f0\u88c5\u4e86\u4e24\u4e09\u5e74\u7684\u7535\u8111\uff0c\u968f\u4fbf\u5728\u6587\u4ef6\u4e0a\u70b9\u53f3\u952e\uff0c\u83dc\u5355\u80fd\u4ece\u5c4f\u5e55\u9876\u7aef\u6392\u5230\u4e2d\u95f4\uff0c\u8fd8\u5f97\u5f80\u4e0b\u6eda\u624d\u80fd\u770b\u5230&quot;\u590d\u5236&quot;\u3002<\/p>\n<p>\u539f\u56e0\u5f88\u7b80\u5355\uff1a\u6bcf\u88c5\u4e00\u4e2a\u8f6f\u4ef6\uff0c\u5b83\u90fd\u60f3\u5728\u53f3\u952e\u83dc\u5355\u91cc\u5360\u4e00\u683c\u3002\u538b\u7f29\u8f6f\u4ef6\u585e\u4e09\u884c\u3001\u7f51\u76d8\u585e\u4e24\u884c\u3001\u56fe\u7247\u67e5\u770b\u5668\u585e&quot;\u7528 XX \u7f16\u8f91&quot;\u3001\u663e\u5361\u9a71\u52a8\u585e\u4e00\u4e2a\u63a7\u5236\u9762\u677f\u3001\u67d0\u4e9b\u56fd\u4ea7\u8f6f\u4ef6\u8fd8\u8981\u585e&quot;\u4e0a\u4f20\u5230 XX&quot;\u3002Win11 \u53c8\u628a\u65b0\u83dc\u5355\u5957\u4e86\u4e00\u5c42\uff0c\u60f3\u770b\u5b8c\u6574\u83dc\u5355\u8fd8\u5f97\u518d\u70b9\u4e00\u6b21&quot;\u663e\u793a\u66f4\u591a\u9009\u9879&quot;\u3002<\/p>\n<p>\u624b\u52a8\u6e05\u7406\u662f\u53ef\u884c\u7684\uff0c\u4f46\u8981\u6539\u6ce8\u518c\u8868\uff1aHKEY_CLASSES_ROOT \u4e0b\u7684 shell \u952e\u3001 shellex \u4e0b\u7684 ContextMenuHandlers\u3001\u8fd8\u6709 Win11 \u7684\u6253\u5305\u5e94\u7528\u9879\u3002\u5220\u9519\u4e00\u4e2a\u952e\uff0c\u53ef\u80fd\u67d0\u4e2a\u8f6f\u4ef6\u7684\u53f3\u952e\u529f\u80fd\u5c31\u6c38\u4e45\u574f\u4e86\uff0c\u800c\u4e14\u5f88\u96be\u67e5\u56de\u6765\u3002<\/p>\n<h2>\u6838\u5fc3\u80fd\u529b<\/h2>\n<ul>\n<li><strong>\u5206\u7c7b\u7ba1\u7406<\/strong>\uff1a\u6309\u6587\u4ef6\u3001\u6587\u4ef6\u5939\u3001\u76ee\u5f55\u80cc\u666f\u3001\u684c\u9762\u80cc\u666f\u3001\u53d1\u9001\u5230\u3001\u65b0\u5efa\u3001\u6253\u5f00\u65b9\u5f0f\u7b49\u573a\u666f\u5206\u5f00\u5217\u51fa\uff0c\u6bd4\u5728\u6ce8\u518c\u8868\u91cc\u4e71\u7ffb\u6e05\u6670\u5f97\u591a\u3002<\/li>\n<li><strong>\u542f\u7528\u800c\u975e\u5220\u9664<\/strong>\uff1a\u91c7\u7528\u5f00\u5173\u5f0f\u7981\u7528\uff0c\u9879\u76ee\u8fd8\u5728\uff0c\u53ea\u662f\u4e0d\u663e\u793a\u3002\u70b9\u56de\u53bb\u5c31\u6062\u590d\uff0c\u4e0d\u5b58\u5728&quot;\u5220\u4e86\u627e\u4e0d\u56de&quot;\u7684\u98ce\u9669\u3002<\/li>\n<li><strong>\u8986\u76d6 Win11 \u65b0\u83dc\u5355<\/strong>\uff1a\u80fd\u540c\u65f6\u7ba1\u7406\u4f20\u7edf\u83dc\u5355\u548c Win11 \u90a3\u5957\u4e8c\u7ea7\u83dc\u5355\u91cc\u7684\u9879\u3002<\/li>\n<li><strong>\u663e\u793a\u6765\u6e90<\/strong>\uff1a\u6bcf\u4e00\u9879\u90fd\u80fd\u770b\u5230\u5bf9\u5e94\u7684\u7a0b\u5e8f\u8def\u5f84\u6216 CLSID\uff0c\u5224\u65ad&quot;\u8fd9\u4e2a\u5230\u5e95\u662f\u8c01\u585e\u7684&quot;\u6709\u636e\u53ef\u67e5\u3002<\/li>\n<li><strong>\u7eff\u8272\u5355\u6587\u4ef6<\/strong>\uff1a\u89e3\u538b\u5373\u7528\uff0c\u4e0d\u5199\u7cfb\u7edf\u670d\u52a1\uff0c\u4e0d\u9a7b\u7559\u540e\u53f0\uff0c\u7528\u5b8c\u53ef\u4ee5\u5220\u6389\u3002<\/li>\n<\/ul>\n<h2>\u5b9e\u6d4b\u4f53\u9a8c<\/h2>\n<p>\u5728\u4e00\u53f0\u88c5\u4e86\u56db\u5341\u591a\u4e2a\u8f6f\u4ef6\u7684\u5de5\u4f5c\u673a\u4e0a\u8bd5\u624b\u3002\u6e05\u7406\u524d\uff0c\u6587\u4ef6\u53f3\u952e\u83dc\u5355\u5c55\u5f00\u7ea6\u6709\u4e09\u5c4f\uff0c\u5176\u4e2d\u771f\u6b63\u6bcf\u5929\u7528\u7684\u4e0d\u8d85\u8fc7\u516b\u4e2a\u3002<\/p>\n<p>\u6253\u5f00\u5de5\u5177\uff0c\u5148\u5728&quot;\u6587\u4ef6&quot;\u5206\u7c7b\u91cc\u628a\u7f51\u76d8\u3001\u56fe\u7247\u7f16\u8f91\u5668\u3001\u51e0\u4e2a\u64ad\u653e\u5668\u7684&quot;\u6dfb\u52a0\u5230\u64ad\u653e\u5217\u8868&quot;\u9010\u9879\u5173\u6389\uff0c\u518d\u628a&quot;\u53d1\u9001\u5230&quot;\u91cc\u591a\u4f59\u7684\u5feb\u6377\u65b9\u5f0f\u6e05\u7a7a\uff0c\u6700\u540e\u5904\u7406 Win11 \u65b0\u83dc\u5355\u2014\u2014\u628a&quot;\u5171\u4eab&quot;&quot;\u526a\u5207&quot;\u4e4b\u5916\u7684\u4e00\u5806\u7b2c\u4e09\u65b9\u9879\u7981\u7528\u3002<\/p>\n<p>\u6574\u4e2a\u8fc7\u7a0b\u4e0d\u5230\u5341\u5206\u949f\uff0c\u4e0d\u9700\u8981\u91cd\u542f\u8d44\u6e90\u7ba1\u7406\u5668\uff0c\u5173\u6389\u518d\u53f3\u952e\u5c31\u7acb\u5373\u751f\u6548\u3002\u83dc\u5355\u4ece\u4e09\u5c4f\u7f29\u5230\u4e00\u5c4f\u534a\uff0c\u5e38\u7528\u7684\u590d\u5236\u3001\u526a\u5207\u3001\u91cd\u547d\u540d\u3001\u538b\u7f29\u3001\u7528\u7f16\u8f91\u5668\u6253\u5f00\u90fd\u5728\u7b2c\u4e00\u5c4f\u5185\u3002<\/p>\n<p>\u4e2d\u9014\u6211\u8bef\u5173\u4e86\u4e00\u4e2a\u538b\u7f29\u8f6f\u4ef6\u7684&quot;\u89e3\u538b\u5230\u5f53\u524d\u6587\u4ef6\u5939&quot;\uff0c\u53d1\u73b0\u540e\u76f4\u63a5\u5728\u540c\u4e00\u4e2a\u5217\u8868\u91cc\u6253\u5f00\u5f00\u5173\u5c31\u6062\u590d\u4e86\uff0c\u6ca1\u6709\u7559\u4e0b\u4efb\u4f55\u75d5\u8ff9\u3002<\/p>\n<h2>\u9002\u5408\u8c01<\/h2>\n<ul>\n<li>\u7535\u8111\u7528\u4e86\u4e24\u5e74\u4ee5\u4e0a\u3001\u53f3\u952e\u83dc\u5355\u660e\u663e\u81c3\u80bf\u7684\u4eba<\/li>\n<li>\u7ecf\u5e38\u5728\u6587\u4ef6\u5939\u91cc\u64cd\u4f5c\u6587\u4ef6\uff0c\u5bf9\u83dc\u5355\u957f\u5ea6\u654f\u611f\u7684\u4eba<\/li>\n<li>\u88c5\u4e86\u591a\u4e2a\u7f51\u76d8\u3001\u591a\u4e2a\u538b\u7f29\u8f6f\u4ef6\u3001\u591a\u4e2a\u7f16\u8f91\u5668\u7684&quot;\u8f6f\u4ef6\u6536\u96c6\u578b&quot;\u7528\u6237<\/li>\n<li>\u5e2e\u522b\u4eba\u7ef4\u62a4\u7535\u8111\uff0c\u9700\u8981\u5feb\u901f\u6574\u7406\u53c8\u4e0d\u60f3\u52a8\u6ce8\u518c\u8868\u7684\u4eba<\/li>\n<\/ul>\n<h2>\u9700\u8981\u6ce8\u610f\u7684\u5730\u65b9<\/h2>\n<p><strong>\u6539\u7684\u662f\u5168\u5c40\u8bbe\u7f6e\uff0c\u5efa\u8bae\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u3002<\/strong> \u90e8\u5206\u9879\u76ee\u4f4d\u4e8e\u7cfb\u7edf\u7ea7\u6ce8\u518c\u8868\u5206\u652f\uff0c\u6743\u9650\u4e0d\u591f\u65f6\u4f1a\u663e\u793a\u4e3a\u7070\u8272\u4e0d\u53ef\u6539\u3002<\/p>\n<p><strong>\u4e2a\u522b\u8f6f\u4ef6\u7684\u83dc\u5355\u4e0d\u53d7\u5b83\u7ba1\u3002<\/strong> \u6709\u4e9b\u7a0b\u5e8f\u5728\u81ea\u5df1\u7684\u754c\u9762\u91cc\u753b\u83dc\u5355\uff0c\u6216\u8005\u901a\u8fc7\u9a71\u52a8\u5c42\u6ce8\u5165\uff0c\u8fd9\u7c7b\u9879\u4e0d\u4f1a\u51fa\u73b0\u5728\u5217\u8868\u91cc\uff0c\u4e5f\u5c31\u5173\u4e0d\u6389\u3002<\/p>\n<p><strong>\u4e0d\u8981\u56fe\u7701\u4e8b\u4e00\u952e\u5168\u5173\u3002<\/strong> \u4fdd\u7559&quot;\u6253\u5f00\u65b9\u5f0f&quot;&quot;\u5c5e\u6027&quot;&quot;\u53d1\u9001\u5230&quot;\u8fd9\u7c7b\u7cfb\u7edf\u9879\uff0c\u5426\u5219\u4f1a\u9047\u5230&quot;\u67d0\u4e2a\u529f\u80fd\u7a81\u7136\u627e\u4e0d\u5230&quot;\u7684\u56f0\u60d1\uff0c\u800c\u4e14\u5f88\u96be\u8054\u60f3\u5230\u662f\u8fd9\u91cc\u6539\u7684\u3002<\/p>\n<p><strong>\u5728\u591a\u4eba\u5171\u7528\u6216\u751f\u4ea7\u673a\u5668\u4e0a\u8981\u8c28\u614e\u3002<\/strong> \u53f3\u952e\u83dc\u5355\u662f\u7ed9\u522b\u4eba\u7528\u7684\u754c\u9762\uff0c\u6539\u52a8\u4f1a\u5f71\u54cd\u6240\u6709\u8d26\u6237\uff0c\u6700\u597d\u5148\u8bb0\u4e0b\u6539\u4e86\u54ea\u4e9b\u3002<\/p>\n<p><strong>Win11 \u7684\u4e8c\u7ea7\u83dc\u5355\u662f\u7cfb\u7edf\u884c\u4e3a\u3002<\/strong> \u8fd9\u4e2a\u5de5\u5177\u80fd\u7ba1\u7406\u83dc\u5355\u9879\uff0c\u4f46\u8981\u5f7b\u5e95\u56de\u5230 Win10 \u90a3\u79cd\u4e00\u7ea7\u5c55\u5f00\u7684\u6837\u5f0f\uff0c\u8fd8\u5f97\u9760\u522b\u7684\u7cfb\u7edf\u8c03\u6574\u624b\u6bb5\u3002<\/p>\n<h2>\u5c0f\u7ed3<\/h2>\n<p>ContextMenuManager \u89e3\u51b3\u7684\u95ee\u9898\u5f88\u5c0f\uff0c\u4f46\u89e3\u51b3\u7684\u59ff\u6001\u5f88\u5bf9\uff1a\u4e0d\u5220\u4e1c\u897f\uff0c\u53ea\u505a\u5f00\u5173\uff1b\u4e0d\u5199\u540e\u53f0\uff0c\u53ea\u6539\u663e\u793a\u3002\u8fd9\u79cd&quot;\u53ef\u9006&quot;\u7684\u8bbe\u8ba1\uff0c\u8ba9\u4e00\u4e2a\u9700\u8981\u52a8\u6ce8\u518c\u8868\u7684\u64cd\u4f5c\u53d8\u6210\u4e86\u53ef\u4ee5\u968f\u624b\u5c1d\u8bd5\u7684\u4e8b\u60c5\u3002<\/p>\n<p>\u5341\u5206\u949f\u7684\u6574\u7406\uff0c\u6362\u6765\u7684\u662f\u6bcf\u5929\u51e0\u5341\u6b21\u53f3\u952e\u7684\u987a\u624b\u3002\u5982\u679c\u4f60\u5df2\u7ecf\u4e60\u60ef\u4e86\u5728\u957f\u957f\u7684\u83dc\u5355\u91cc\u627e&quot;\u590d\u5236&quot;\uff0c\u90a3\u5b83\u5927\u6982\u80fd\u8ba9\u4f60\u5c11\u76b1\u51e0\u6b21\u7709\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u4e00\u53f0\u88c5\u4e86\u4e24\u4e09\u5e74\u7684\u7535\u8111\uff0c\u968f\u4fbf\u5728\u6587\u4ef6\u4e0a\u70b9\u53f3\u952e\uff0c\u83dc\u5355\u80fd\u4ece\u5c4f\u5e55\u9876\u7aef\u6392\u5230\u4e2d\u95f4\uff0c\u8fd8\u5f97\u5f80\u4e0b\u6eda\u624d\u80fd\u770b\u5230&#8221;\u590d\u5236&#8221;\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","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":"","ast-disable-related-posts":"","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":"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":"","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-4)","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-4)","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-4)","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":[2],"tags":[],"class_list":["post-276","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=276"}],"version-history":[{"count":0,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/276\/revisions"}],"wp:attachment":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}