{"id":107367,"date":"2022-11-08T06:53:36","date_gmt":"2022-11-08T14:53:36","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/oldnewthing\/?p=107367"},"modified":"2022-11-08T07:02:26","modified_gmt":"2022-11-08T15:02:26","slug":"why-is-there-a-system-sound-called-asterisk-what-sound-does-an-asterisk-make-anyway","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20221108-36\/?p=107367","title":{"rendered":"Why is there a system sound called Asterisk? What sound does an Asterisk make anyway?"},"content":{"rendered":"<p>A Twitter user who goes by the name <a href=\"https:\/\/twitter.com\/ASwisstone\/\"> ASwisstone<\/a> asked <a href=\"https:\/\/twitter.com\/ASwisstone\/status\/1453031221718667265\"> why there is a system sound called Asterisk<\/a>. Yup there it is: <a href=\"https:\/\/docs.microsoft.com\/en-us\/dotnet\/api\/system.media.systemsounds.asterisk?view=dotnet-plat-ext-6.0\"> System.<wbr \/>Media.<wbr \/>System\u00adSounds.<wbr \/>Asterisk<\/a>. What sound does an Asterisk make anyway?<\/p>\n<p>If you dig into the reference source, you&#8217;ll see that the <code>SystemSound.Play<\/code> method <a href=\"https:\/\/referencesource.microsoft.com\/#System\/sys\/system\/Media\/SystemSounds.cs,94\"> calls <code>SafeNativeMethods.<wbr \/>MessageBeep<\/code><\/a> with the corresponding value <code>MB_ICONASTERISK<\/code>.<\/p>\n<p>Okay, so this sound is intended to accompany an asterisk icon. But what is the asterisk icon?<\/p>\n<p>The <code>MB_<\/code> prefix may be a clue. These are values that you can pass to the <code>MessageBox<\/code> function to specify what icon should be shown in the message box, and the sound plays when a message box is shown with the corresponding icon.<\/p>\n<p>The documentation says that <code>MB_<wbr \/>ICON\u00adASTERISK<\/code> produces &#8220;An icon consisting of a lowercase letter <var>i<\/var> in a circle.&#8221;<\/p>\n<p>Wait a second, that&#8217;s not an asterisk! It seems that each time we peel back a layer of the onion, the story just gets more confusing!<\/p>\n<p>The story starts to become less murky when you notice that the <code>MB_<wbr \/>ICON\u00adASTERISK<\/code> constant has the same numerical value (and same description) as the <code>MB_<wbr \/>ICON\u00adINFORMATION<\/code> constant.<\/p>\n<p>Okay, now we can put the pieces of the story together.<\/p>\n<p>Once upon a time, there was <code>MB_<wbr \/>ICON\u00adASTERISK<\/code>, which presumably showed an asterisk icon. At some point, the asterisk was replaced with an information symbol \ud83d\udec8 and an alternate name for the flag was invented: <code>MB_<wbr \/>ICON\u00adINFORMATION<\/code>.<\/p>\n<p>To test this theory, I dug through the <a href=\"https:\/\/www.pcjs.org\/\"> pcjs.org<\/a> archive of old versions of Windows maintained by my retired colleague and doughnut enthusiast <a href=\"https:\/\/github.com\/jeffpar\/\">Jeff Parsons<\/a> (<a href=\"https:\/\/devblogs.microsoft.com\/oldnewthing\/20121113-00\/?p=6103\">Previously<\/a> about Jeff.)<\/p>\n<p>And lo and behold, we can see it in action: Fire up <a href=\"https:\/\/www.pcjs.org\/software\/pcx86\/sys\/windows\/1.00\/\"> Windows 1.0<\/a>, launch Notepad, and then hit <kbd>Ctrl<\/kbd>+<kbd>F<\/kbd> to call up the Search dialog. Search for some nonsense string and hit <kbd>Enter<\/kbd>.<\/p>\n<p><img decoding=\"async\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYgAAADFCAAAAABrmTr8AAAJy0lEQVR42u3dUWjc5gEH8C+YzIm9\nRJgM0tZ0Gi3MhMbcYKR+uFKRh2FCNjToQ0hexDoGCWPoIYEGShCmMD8UKkpx+lCKXmzyEJgYXTF+\nCCr1Q9jDJppRNghMmCwLmQlq5nVp1rTfvk\/fpzvppJN09il3Pv\/\/D7G+k\/RJ0e9O3yf5\/IksN5Ah\nyCliE2QIogICEAgg9iDEb1z3Hf5zwnXdH\/Sx3jOuu5z7Ks9LgMjEodTnPxVKaaOP9VqUhrmv8miA\n6A0ioNTpI4TKtqESYrIfUZn9NLusHlJq7zmI25oKiGGAoNQCxHBA3LSnJMRxO8oJPmvefkjp57z4\nOi8+J2bN8+kTtoyo5IAonBWls3z6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J0S8207rFkcj9aat8OWBzC8PWs8jKISIn7plFkOkWrI0RPt3KWUXdGbur1ysxPMR3Jxek5s4SHaq\nhvYTw4boph9SnDKIl3Vd\/t7lr\/GDvNsQy64rb5C9qQOiXgg3e29ne78YQnYC8bL7TzF9TtdnciFe\n0P8uz5SuexIQdUHoeZduHY2jn+w\/AqJWCHydZhggfN8\/VwLxM38LELVDVPoSsgeIWiFeyPvboDyI\n1\/hfER0DRH3dV3wtHxCAKIHgX0QIADF4CPx5LyAAAQhAAAIQgAAEIAABiG4Qvred3MEx7TcEAghA\nIIAABCAAgQACEAggAIEAAhAIIACBAAIQCCAAgQACEAggAIEAAhAIIACB4wAIBBCAQAABCAQQgEAA\nAQgEEIBAAAEIBBCAQAABCGRvQ9zQ6wsgeohD6gsgqqZB6o4NiPLc839IyFSjvjCIS\/4TQJTFSj8X\nt\/8pfnovIEQemHPkkm2v1bgJ27ZfJecXAFGYIPWQlrpidn\/EISB6hpgVD7UX\/w9FWQFEH7OxThT1\n8ypLhsH0PlVV95PgvjjvOz1sZkHdNx08AETB\/mQe2V3Qpiuiq6v3DhFtyAQEIAABiKcBcZddrt0F\nxOAhgrzn0AMCEHsVYuVt0jA2ATFwiOorA6JGiBlt7KgXAGLgEKSn2xaAwKlp9CFOzxHDewQIdF\/3\nJITvHNlvGMYUcW4AYpAQlKrph9gCYlAQO90QIAABCEBUzNUrZM78R+2b+Z35nSn7E0AUBN\/iAAQg\nktlQxsmnYfhljZsIw\/A8OTwLiPJLZnzlchiyan6PkBN2fWEMr5r\/BUR58LX8IcnffH+hRgXf9\/8F\niIrBXwwhgAAEIACBAAIQCCAAgQACEEivEMgQRCUfqsgQpPl\/uV3kSoUiPeAAAAAASUVORK5CYII=\" \/><\/p>\n<p>The asterisk was also used in Windows 2.0 (<a href=\"https:\/\/www.pcjs.org\/software\/pcx86\/sys\/windows\/2.0x\/\">see for yourself<\/a>), but Windows 3.0 changed the icon to the information symbol. Nevertheless, the programmatic name remained &#8220;Asterisk&#8221;, for compatibility.<\/p>\n<p><b>Bonus chatter<\/b>: Mind you, Windows 1.0 didn&#8217;t have support for any sounds aside from the plain old beep from the built-in PC speaker. Multimedia sound support didn&#8217;t arrive until Windows 3.0.<\/p>\n<p><b>Bonus chatter 2<\/b>: At the same time that Asterisk became Information, the Hand was changed to a Stop sign.\u00b9 The Exclamation didn&#8217;t want to be left out of the party, even though its icon didn&#8217;t change, but at least it was renamed to Warning.<\/p>\n<p>\u00b9 In Windows 95, the stop sign changed to a filled red circle with a white X.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s to accompany the asterisk, back when we had an asterisk.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[2],"class_list":["post-107367","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-history"],"acf":[],"blog_post_summary":"<p>It&#8217;s to accompany the asterisk, back when we had an asterisk.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/107367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=107367"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/107367\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=107367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=107367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=107367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}