registry: Explain how GetMUIStringValue works and where it falls short
registry: Explain how GetMUIStringValue works and where it falls short

GetMUIStringValue tries as a convenience to resolve string values even for pathless
resource DLLs by searching the system directory (one of several paths used
by the system's standard DLL search order algorithm). This would not be
needed if regLoadMUIString searched for pathless DLLs itself, but it
doesn't, instead it needs an absolute path, otherwise it will fail.

This approach works fine for solving issue #12015 (handle localized time
zone names; for which GetMUIStringValue was created) since tzres.dll that
is used to resolve localized time zone names has no path in the registry
but is located under the system directory.

However, this approach will fail if a pathless DLL is located somewhere
else than the system directory.

Because of this limitation GetMUIStringValue may have to be revised in the
future to allow for custom paths, possibly through another version of the
function.

See also:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724890%28v=vs.85%29.aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682586%28v=vs.85%29.aspx

Change-Id: Ida66a0ef1928e0461ce248c795827902d785e6cd
Reviewed-on: https://go-review.googlesource.com/13929
Reviewed-by: Rob Pike <4dc7c9ec434ed06502767136789763ec11d2c4b7@golang.org>

codestation/go,yasarkunduz/go,kim-racktop/go,cloudflare/go,nawawi/go,beealone/go,ericsnowcurrently/go,nawawi/go,christopher-henderson/Go,samanalysis/go,stormltf/go,sinuos/go,theass/go,derekmarcotte/go,Jordanzuo/go,polyverse-security/go,theif519/go,cookerzhu/go,xiuzhifu/go,kakuhiroshi/go,jonahglover/go,mwhudson/go,gdey/go,jonasi/go,gdey/go,Cofyc/go,Young55555/go,theass/go,jacobxk/go,slavau/go,xiuzhifu/go,rentongzhang/go,golang/go,vsekhar/elastic-go,odeke-em/go,mgyenik/go,sinuos/go,samanalysis/go,WIZARD-CXY/go,xiuzhifu/go,miolini/go,arschles/golang-go,vanloswang/go,rentongzhang/go,NunoEdgarGub1/go,albertjin/golang-go,roth1002/go,rachtsingh/gogojuice,jdhenke/go,goodlang/good,rachtsingh/gogojuice,CiscoCloud/go,vsdutka/go,joshsammut/go,polyverse-security/go,cookerzhu/go,CAFxX/go,cainiaocome/go,honsiorovskyi/go,yasarkunduz/go,greyhwndz/go,dterei/go,AALEKH/go,jacobxk/go,odeke-em/go,kakuhiroshi/go,Samurais/go,cyberroadie/go,malvira/go,codestation/go,momchil-velikov/go,rachtsingh/gogojuice,akutz/go,cloudflare/go,joshsammut/go,xujianhai/go,joshsammut/go,kim-racktop/go,jacobxk/go,binarycrusader/go,chinanjjohn2012/go,mdp/go,ganboing/go-esx,stormltf/go,cainiaocome/go,qskycolor/go,vishsingh/go,dpatel06/go,beealone/go,b54898533/go,samanalysis/go,AALEKH/go,jacobhaven/go,dpatel06/go,arschles/golang-go,golang/go,josharian/go,mikekap/go,yangzhongj/go,gdey/go,momchil-velikov/go,danielsoro/go,golang/go,jonahglover/go,goodlang/good,honsiorovskyi/go,danielsoro/go,myPublicGit/go,CiscoCloud/go,kim-racktop/go,josharian/go,sndnvaps/go,snowsnail/go,WIZARD-CXY/go,albertjin/golang-go,linux-on-ibm-z/go,jefby/go,Samurais/go,4ad/go,honsiorovskyi/go,snowsnail/go,Badredapple/go,vanloswang/go,CiscoCloud/go,kakuhiroshi/go,joshsammut/go,likesea/go,ericsnowcurrently/go,momchil-velikov/go,dterei/go,nawawi/go,binarycrusader/go,akutz/go,qskycolor/go,cyberroadie/go,Pulgafree/go,goodlang/good,GeorgiCodes/go,CAFxX/go,Young55555/go,vsekhar/elastic-go,sndnvaps/go,joshsammut/go,dpatel06/go,Cofyc/go,suncycheng/go,jacobsa/go,CarterTsai/go,jonahglover/go,famorted/go,zhangg/go,CarterTsai/go,vsekhar/elastic-go,mwhudson/go,CarterTsai/go,cainiaocome/go,myPublicGit/go,joshsammut/go,jacobsa/go,CiscoCloud/go,golang/go,mikekap/go,sinuos/go,theass/go,honsiorovskyi/go,deft-code/go,xiuzhifu/go,akutz/go,vishsingh/go,alex-zhang/go,mdp/go,theass/go,mgyenik/go,malvira/go,polyverse-security/go,linux-on-ibm-z/go,cookerzhu/go,polyverse-security/go,yangzhongj/go,Samurais/go,Young55555/go,NunoEdgarGub1/go,NunoEdgarGub1/go,ObjectiveJoe/go,jacobsa/go,likesea/go,vishsingh/go,Pulgafree/go,Pulgafree/go,mdp/go,WIZARD-CXY/go,devpadawan/go,cookerzhu/go,vishsingh/go,vanloswang/go,alex-zhang/go,dterei/go,devpadawan/go,GeorgiCodes/go,4ad/go,4ad/go,GeorgiCodes/go,suncycheng/go,beealone/go,roth1002/go,qskycolor/go,jefby/go,codestation/go,b54898533/go,skatsuta/go,mikekap/go,polyverse-security/go,ImJasonH/go,jacobhaven/go,fjballest/golang,Endika/go,zhangg/go,Endika/go,cainiaocome/go,Pulgafree/go,binarycrusader/go,ganboing/go-esx,ImJasonH/go,jacobhaven/go,cainiaocome/go,vanloswang/go,samanalysis/go,jacobhaven/go,nawawi/go,chinanjjohn2012/go,gdey/go,cloudflare/go,cloudflare/go,rentongzhang/go,josharian/go,CAFxX/go,ObjectiveJoe/go,dterei/go,mgyenik/go,ifagnosticism/go,mgyenik/go,arschles/golang-go,yasarkunduz/go,ifagnosticism/go,famorted/go,Badredapple/go,jacobsa/go,samanalysis/go,kakuhiroshi/go,Young55555/go,cloudflare/go,WIZARD-CXY/go,myPublicGit/go,yangzhongj/go,Badredapple/go,Young55555/go,fjballest/golang,stormltf/go,linux-on-ibm-z/go,vsdutka/go,likesea/go,sinuos/go,qskycolor/go,GeorgiCodes/go,devpadawan/go,malvira/go,kim-racktop/go,Badredapple/go,mikekap/go,Endika/go,ObjectiveJoe/go,kim-racktop/go,theass/go,linux-on-ibm-z/go,jdhenke/go,greyhwndz/go,danielsoro/go,devpadawan/go,kakuhiroshi/go,likesea/go,sndnvaps/go,famorted/go,AALEKH/go,CiscoCloud/go,jonahglover/go,jacobxk/go,Young55555/go,codestation/go,ichu501/go,mwhudson/go,dterei/go,akutz/go,arschles/golang-go,odeke-em/go,ImJasonH/go,roth1002/go,odeke-em/go,cainiaocome/go,roth1002/go,ganboing/go-esx,skatsuta/go,jefby/go,likesea/go,suncycheng/go,arschles/golang-go,b54898533/go,cloudflare/go,josharian/go,devpadawan/go,CAFxX/go,ganboing/go-esx,rachtsingh/gogojuice,vsekhar/elastic-go,arschles/golang-go,albertjin/golang-go,vanloswang/go,vanloswang/go,arschles/go-1,arschles/go-1,mdp/go,ifagnosticism/go,Cofyc/go,derekmarcotte/go,vsdutka/go,yasarkunduz/go,jdhenke/go,yangzhongj/go,jacobxk/go,skatsuta/go,4ad/go,slavau/go,goodlang/good,cyberroadie/go,vsekhar/elastic-go,likesea/go,suncycheng/go,zhangg/go,cookerzhu/go,slavau/go,vsdutka/go,xiuzhifu/go,jonahglover/go,honsiorovskyi/go,famorted/go,Samurais/go,honsiorovskyi/go,greyhwndz/go,deft-code/go,rachtsingh/gogojuice,arschles/golang-go,akutz/go,momchil-velikov/go,xujianhai/go,cloudflare/go,jefby/go,yangzhongj/go,rachtsingh/gogojuice,cyberroadie/go,binarycrusader/go,alex-zhang/go,GeorgiCodes/go,odeke-em/go,deft-code/go,nawawi/go,malvira/go,Endika/go,Cofyc/go,nawawi/go,roth1002/go,myPublicGit/go,CarterTsai/go,CarterTsai/go,ifagnosticism/go,golang/go,miolini/go,ImJasonH/go,ifagnosticism/go,rachtsingh/gogojuice,CiscoCloud/go,Cofyc/go,ichu501/go,CiscoCloud/go,jacobhaven/go,suncycheng/go,stormltf/go,fjballest/golang,greyhwndz/go,devpadawan/go,ichu501/go,xiuzhifu/go,zhangg/go,beealone/go,deft-code/go,4ad/go,rentongzhang/go,ichu501/go,mdp/go,4ad/go,rentongzhang/go,mwhudson/go,theass/go,skatsuta/go,odeke-em/go,goodlang/good,akutz/go,yangzhongj/go,yangzhongj/go,alex-zhang/go,jonasi/go,xujianhai/go,yasarkunduz/go,theif519/go,ericsnowcurrently/go,mwhudson/go,xujianhai/go,snowsnail/go,codestation/go,josharian/go,AALEKH/go,derekmarcotte/go,cloudflare/go,cainiaocome/go,ganboing/go-esx,momchil-velikov/go,jonahglover/go,NunoEdgarGub1/go,vishsingh/go,slavau/go,momchil-velikov/go,Pulgafree/go,NunoEdgarGub1/go,binarycrusader/go,Jordanzuo/go,famorted/go,Badredapple/go,beealone/go,Pulgafree/go,roth1002/go,Badredapple/go,rachtsingh/gogojuice,4ad/go,arschles/golang-go,kim-racktop/go,josharian/go,jacobsa/go,chinanjjohn2012/go,jacobsa/go,fjballest/golang,rentongzhang/go,slavau/go,CarterTsai/go,AALEKH/go,xiuzhifu/go,sndnvaps/go,theif519/go,arschles/go-1,deft-code/go,arschles/go-1,kakuhiroshi/go,AALEKH/go,suncycheng/go,theass/go,samanalysis/go,NunoEdgarGub1/go,linux-on-ibm-z/go,malvira/go,ifagnosticism/go,jacobhaven/go,honsiorovskyi/go,ericsnowcurrently/go,Jordanzuo/go,Jordanzuo/go,Endika/go,malvira/go,albertjin/golang-go,dpatel06/go,binarycrusader/go,jonasi/go,miolini/go,cyberroadie/go,stormltf/go,jacobhaven/go,derekmarcotte/go,arschles/go-1,myPublicGit/go,greyhwndz/go,theif519/go,codestation/go,Jordanzuo/go,CAFxX/go,jefby/go,ericsnowcurrently/go,greyhwndz/go,beealone/go,dpatel06/go,dpatel06/go,sinuos/go,sndnvaps/go,suncycheng/go,stormltf/go,fjballest/golang,momchil-velikov/go,fjballest/golang,Cofyc/go,mgyenik/go,suncycheng/go,danielsoro/go,rentongzhang/go,vanloswang/go,Jordanzuo/go,albertjin/golang-go,golang/go,WIZARD-CXY/go,qskycolor/go,joshsammut/go,vsdutka/go,likesea/go,jonasi/go,slavau/go,Endika/go,deft-code/go,mwhudson/go,roth1002/go,jacobhaven/go,Jordanzuo/go,myPublicGit/go,CarterTsai/go,mdp/go,AALEKH/go,vsekhar/elastic-go,vsekhar/elastic-go,ichu501/go,sndnvaps/go,vishsingh/go,theif519/go,GeorgiCodes/go,WIZARD-CXY/go,Cofyc/go,sndnvaps/go,golang/go,alex-zhang/go,ImJasonH/go,miolini/go,dpatel06/go,GeorgiCodes/go,yasarkunduz/go,yangzhongj/go,slavau/go,vsdutka/go,Pulgafree/go,ganboing/go-esx,ichu501/go,gdey/go,CarterTsai/go,famorted/go,deft-code/go,linux-on-ibm-z/go,WIZARD-CXY/go,kim-racktop/go,Samurais/go,binarycrusader/go,polyverse-security/go,AALEKH/go,goodlang/good,snowsnail/go,miolini/go,kakuhiroshi/go,samanalysis/go,skatsuta/go,qskycolor/go,danielsoro/go,josharian/go,danielsoro/go,albertjin/golang-go,miolini/go,ericsnowcurrently/go,ObjectiveJoe/go,stormltf/go,xujianhai/go,ObjectiveJoe/go,zhangg/go,zhangg/go,ericsnowcurrently/go,sndnvaps/go,4ad/go,jonahglover/go,honsiorovskyi/go,mgyenik/go,Young55555/go,theass/go,dpatel06/go,xujianhai/go,ichu501/go,odeke-em/go,golang/go,snowsnail/go,Badredapple/go,ImJasonH/go,Young55555/go,joshsammut/go,WIZARD-CXY/go,beealone/go,chinanjjohn2012/go,myPublicGit/go,arschles/go-1,gdey/go,theif519/go,snowsnail/go,derekmarcotte/go,codestation/go,ImJasonH/go,b54898533/go,vsdutka/go,b54898533/go,roth1002/go,mwhudson/go,CAFxX/go,goodlang/good,danielsoro/go,jdhenke/go,arschles/go-1,mdp/go,b54898533/go,sinuos/go,CAFxX/go,xujianhai/go,odeke-em/go,nawawi/go,yasarkunduz/go,mgyenik/go,gdey/go,vishsingh/go,b54898533/go,jefby/go,albertjin/golang-go,snowsnail/go,jefby/go,Samurais/go,vsekhar/elastic-go,famorted/go,zhangg/go,akutz/go,malvira/go,skatsuta/go,myPublicGit/go,polyverse-security/go,ObjectiveJoe/go,NunoEdgarGub1/go,jdhenke/go,dterei/go,Cofyc/go,jonahglover/go,ganboing/go-esx,theif519/go,ericsnowcurrently/go,ObjectiveJoe/go,jacobxk/go,jonasi/go,miolini/go,jdhenke/go,cookerzhu/go,cyberroadie/go,malvira/go,alex-zhang/go,sinuos/go,albertjin/golang-go,chinanjjohn2012/go,dterei/go,jonasi/go,jefby/go,mikekap/go,Samurais/go,jdhenke/go,cookerzhu/go,jacobxk/go,mikekap/go,theif519/go,beealone/go,jonasi/go,stormltf/go,mikekap/go,ganboing/go-esx,famorted/go,devpadawan/go,ObjectiveJoe/go,gdey/go,Endika/go,ifagnosticism/go,xujianhai/go,vsdutka/go,yasarkunduz/go,ifagnosticism/go,qskycolor/go,rentongzhang/go,Pulgafree/go,mikekap/go,codestation/go,greyhwndz/go,linux-on-ibm-z/go,devpadawan/go,polyverse-security/go,derekmarcotte/go,Badredapple/go,linux-on-ibm-z/go,mwhudson/go,NunoEdgarGub1/go,jacobsa/go,Samurais/go,cyberroadie/go,CAFxX/go,chinanjjohn2012/go,chinanjjohn2012/go,mdp/go,ichu501/go,dterei/go,Endika/go,cyberroadie/go,zhangg/go,derekmarcotte/go,cainiaocome/go,alex-zhang/go,akutz/go,samanalysis/go,deft-code/go,slavau/go,xiuzhifu/go,vanloswang/go,b54898533/go,kim-racktop/go,danielsoro/go,skatsuta/go,chinanjjohn2012/go,Jordanzuo/go,derekmarcotte/go,greyhwndz/go,cookerzhu/go,arschles/go-1,snowsnail/go,jonasi/go,nawawi/go,jacobxk/go,alex-zhang/go,ImJasonH/go,skatsuta/go,mgyenik/go,sinuos/go,fjballest/golang,momchil-velikov/go,jacobsa/go,likesea/go,kakuhiroshi/go,jdhenke/go,goodlang/good,binarycrusader/go,vishsingh/go,GeorgiCodes/go,josharian/go,miolini/go,fjballest/golang,CiscoCloud/go,qskycolor/go