{"id":14423,"date":"2010-04-01T07:00:00","date_gmt":"2010-04-01T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2010\/04\/01\/enumclaw-the-function-that-never-was\/"},"modified":"2010-04-01T07:00:00","modified_gmt":"2010-04-01T07:00:00","slug":"enumclaw-the-function-that-never-was","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20100401-00\/?p=14423","title":{"rendered":"EnumClaw, the function that never was"},"content":{"rendered":"<p>\nbhiggins\n<a HREF=\"http:\/\/blogs.msdn.com\/oldnewthing\/archive\/2008\/07\/09\/8711898.aspx#8714680\">\nasks about the mysterious function <code>EnumClaw<\/code>\nthat existed in some versions of the Win32 documentation<\/a>.\n<\/p>\n<p>\nI went digging through the MSDN archives and was close to giving up\nand declaring the cause lost,\nbut then I found it: A copy\nof the <code>EnumClaw<\/code> documentation.\n<\/p>\n<blockquote CLASS=\"q\" STYLE=\"font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 85%\">\n<div STYLE=\"font-size: 130%;font-weight: bolder\">EnumClaw<\/div>\n<div STYLE=\"margin-left: 26px\">\n<p>\nThe <b>EnumClaw<\/b> function returns the child or the parent\nof the window whose HWND is passed in.\n<\/p>\n<pre STYLE=\"background: #dddddd;padding: 2pt 4pt;color: black\">\n<b>HWND EnumClaw(\n  HWND<\/b> <i>hwndParent<\/i>    \/\/ handle to parent window\n<b>);<\/b>\n<\/pre>\n<\/div>\n<div STYLE=\"font-weight: bolder;margin-top: 1em\">\nParameters<\/div>\n<dl STYLE=\"margin: 0pt 26px\">\n<dt STYLE=\"margin-top: 0.6em;font-weight: normal\"><i>hwndParent<\/i><\/dt>\n<dd>[in] Handle to the parent window.\n<\/dd>\n<\/dl>\n<div STYLE=\"font-weight: bolder;margin-top: 1em\">\nReturn Values<\/div>\n<div STYLE=\"margin-left: 26px\">\n<p>\nIf the function succeeds, the return value is\nthe HWND of the child of the <i>hwndParent<\/i> window.\nIf the window has no child,\nthe return value is the HWND of the parent of the <i>hwndParent<\/i> window.\n<\/p>\n<p>\nIf the function fails, the return value is NULL.\nTo get extended error information, call\n<a HREF=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms679360.aspx\">\n<b>GetLastError<\/b><\/a>.\n<\/p>\n<\/div>\n<div STYLE=\"font-weight: bolder;margin-top: 1em\">\nRequirements<\/div>\n<div STYLE=\"margin-left: 26px\">\n<p><b>&nbsp;&nbsp;Windows NT\/2000\/XP:<\/b>\n    Included in Windows XP and Windows .NET Server.<br \/>\n<b>&nbsp;&nbsp;Windows 95\/98\/Me:<\/b> Unsupported.<br \/>\n<b>&nbsp;&nbsp;Header:<\/b> Declared in Winuser.h; include Windows.h.<br \/>\n<b>&nbsp;&nbsp;Library:<\/b> Use User32.lib.<\/p>\n<\/div>\n<div STYLE=\"font-weight: bolder;margin-top: 1em\">\nSee Also<\/div>\n<p STYLE=\"margin-left: 26px\">\n<a HREF=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms632595.aspx\">\nWindows Overview<\/a>,\n<a HREF=\"http:\/\/msdn.microsoft.com\/en-us\/library\/dd469351.aspx\">\nWindow Functions<\/a>.\n<\/p>\n<\/blockquote>\n<p>\nThere was never a function called <code>EnumClaw<\/code>.\nThis was a joke inserted by the documentation folks,\na pun on the Washington city named\n<a HREF=\"http:\/\/www.cityofenumclaw.net\/\">\nEnumclaw<\/a>.\n(The state of Washington has a lot of place names which come\nfrom Native American words.\nOther examples are\n<a HREF=\"http:\/\/www.ci.sequim.wa.us\/\">\nSequim<\/a>,\n<a HREF=\"http:\/\/www.cityofpuyallup.org\/\">\nPuyallup<\/a>,\nand\n<a HREF=\"http:\/\/www.marysvilletulalipchamber.com\/\">\nTulalip<\/a>.\nAt least Enumclaw is pronounced almost like it&#8217;s spelled.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>bhiggins asks about the mysterious function EnumClaw that existed in some versions of the Win32 documentation. I went digging through the MSDN archives and was close to giving up and declaring the cause lost, but then I found it: A copy of the EnumClaw documentation. EnumClaw The EnumClaw function returns the child or the parent [&hellip;]<\/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-14423","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-history"],"acf":[],"blog_post_summary":"<p>bhiggins asks about the mysterious function EnumClaw that existed in some versions of the Win32 documentation. I went digging through the MSDN archives and was close to giving up and declaring the cause lost, but then I found it: A copy of the EnumClaw documentation. EnumClaw The EnumClaw function returns the child or the parent [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/14423","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=14423"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/14423\/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=14423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=14423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=14423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}