Out of Memory

本ブログは更新を停止しました。Aerieをよろしくお願いいたします。

目次

Blog 利用状況

ニュース

2009年3月31日
更新を停止しました。引き続きAerieを御愛顧くださいませ。
2009年2月3日
原則としてコメント受付を停止しました。コメントはAerieまでお願いいたします。
詳細は2月3日のエントリをご覧ください。
2008年7月1日
Microsoft MVP for Developer Tools - Visual C++ を再受賞しました。
2008年2月某日
MVPアワードがVisual C++に変更になりました。
2007年10月23日
blogタイトルを変更しました。
2007年7月1日
Microsoft MVP for Windows - SDKを受賞しました!
2007年6月20日
スキル「ニュース欄ハック」を覚えた!
2006年12月14日
記念すべき初エントリ
2006年12月3日
わんくま同盟に加盟しました。

カレンダー

中の人

αετο? / aetos / あえとす

シャノン? 誰それ。

顔写真

埼玉を馬鹿にする奴は俺が許さん。

基本的に知ったかぶり。興味を持った技術に手を出して、ちょっと齧りはするものの、それを応用して何か形にするまでは及ばずに飽きて放り出す人。

書庫

日記カテゴリ

NTネイティブパス名をMS-DOSパス名に変換するには?

本投稿は備忘録であり、ご回答は NTネイティブパス名をMS-DOSパス名に変換するには? で募っています。
マルチポストとなるのを避けるため、こちらには技術的な内容をご回答されませんよう、お願いいたします。

以下本文。

NT パス名、例えば \Device\HarddiskVolume1\... を C:\... に変換するにはどうすればよいのだろう?

ローカルドライブ下にあるパスについては、GetLogicalDriveStrings でドライブ名の一覧を取得し、QueryDosDevice でドライブ名を NT デバイス形式に変換し、前方一致で確認すればできそう。
が、ネットワークドライブや、ドライブレターが割り当てられていない UNC パスについてはどうすれば?

ローカルドライブの場合、例えば C: について QueryDosDevice で問い合わせれば \Device\HarddiskVolume1 という文字列のみが返ってくるため、前方一致で判別できる。
しかし、例えば、N: が \\Server\Path にマップされている場合、ネットワークドライブ内にあるファイルの NT パスは \Device\LanmanRedirector\Server\Path だが、N: に対して QueryDosDevice を実行すると \Device\LanmanRedirector\;N:謎の数字 \Server\Path のような文字列が返ってきてしまい、前方一致できない。
また、QueryDosDevice に UNC を渡しても、対応する NT パスは取得できない。
NT パスが \Device\LanmanRedirector\Server\Path となっていれば、それは \\Server\Path を指すのだと解釈してしまうのも、ドライバか何かの実装が異なれば、 LanmanRedirector 以外の名前がありそうで怖い。

RtlNtPathNameToDosPathName という関数もあるが、Undocumented なので、できれば使いたくない。

マウントポイント等の場合にどうなるかは要調査。

投稿日時 : 2008年8月5日 13:15

Feedback

# re: NTネイティブパス名をMS-DOSパス名に変換するには? 2017/11/28 12:08 cc

http://www.yeezy-shoes.org.uk
http://www.nikehuaracheshoes.us.com
http://www.cartierbracelet.us
http://www.michaelkors-outletonlines.us.com
http://www.vibramfivefingers.us.com
http://www.kobebasketballshoes.net
http://www.jordan11retro.us.com
http://www.ultraboost.us.com
http://www.michaelkors-factoryoutlet.com.co
http://www.thelightupshoes.us.com
http://www.airmax90.us.org
http://www.longchamp-bags.us.org
http://www.jordan6.us.com
http://www.cheap--jordans.us.com
http://www.lebron13.us.com
http://www.jordan-retro.us.com

# leilei123 2018/08/29 16:44 leilei3915

2018829 leilei3915
http://www.michaelkorsoutletsites.us.com
http://www.pandorasoutlet.us.com
http://www.canadagooseoutletsonline.us.com
http://www.pandoracharmsfactory.us.com
http://www.coachoutletss.us.com
http://www.christianlouboutin-uk.co.uk
http://www.michaelkorshandbagssale.us.org
http://www.michaelkorsoutlets.co.uk
http://www.pandora-jewelryclearance.us.com
http://www.katespadeoutlets.org
http://www.uggoutletsuggs.us.com
http://www.katespadeoutletinc.us.com
http://www.toryburchoutlet.us
http://www.asics-runningshoes.us.com
http://www.nhljerseyscom.us.com
http://www.michaelkorsoutletonlinesite.us.com
http://www.off--whiteclothing.us.com
http://www.cheapjordansfor-sale.us.com
http://www.michaelkorsoutletblackfriday.us.com
http://www.michaelkorsoutletfactoryus.us.com
http://www.goosecanada.name
http://www.cheapuggsboots.com.co
http://www.michaelkorsoutletfactorysale.us.com
http://www.raybansunglassesdesigner.us.com
http://www.nfljerseyswholesalenike.us.com
http://www.michaelkorsoutlet-store.us.org
http://www.canadagoosejacketscoat.us.com
http://www.canadagooseoutletcanadian.us.com
http://www.pandoraoutlets.us.com
http://www.pandoracharm.us.com
http://www.michaelkorsoutletk.us.com
http://www.ralphlauren-saleclearance.org.uk
http://www.oakleysunglasseswholesalec.us.com
http://www.katespadehandbagsinc.us.com
http://www.manoloblahnik.us.org
http://www.ferragamoshoessale.us.com
http://www.longchampoutletonlinestore.us.org
http://www.redbottomsshoes.us.org
http://www.uggoutletstores.ca
http://www.coachoutletonlineoutlet.us.com
http://www.valentinooutletstore.us.com
http://www.coachfactoryoutlet.com.co
http://www.coachoutletstoreonlines.com.co
http://www.michaelkorsoutlet-clearance.in.net
http://www.canadagooseoutletshop.us.com
http://www.nikeshoesuk.co.uk
http://www.michaelkorsoutletsclearance.us.com
http://www.true-religion.us.com
http://www.katespadeonlineoutlet.us.org
http://www.christianlouboutinoutletinc.us.com

# re: NT?????????MS-DOS??????????? 2021/08/07 12:55 can hydroxychloroquine get you high

chroloquine https://chloroquineorigin.com/# hydroxy chloroquine

# You can double your BITCOIN in just 24 hours without any problems 2021/08/22 10:00 JamesBot

Your welcome to join with this program, You can double your BITCOIN in just 24 hours without any problems. Minimum is only 0.001BTC, Our Company Is Legit.

Visit site

https://earn2xcoin.com
<img src="https://picfat.com/images/2021/08/18/Earn2xcoin.png">

Regards

# AccStores.com - Buy Twitter accs and more! Bulk and aged social media accounts. High quality! 2021/08/29 2:28 AccstoresUtigo

A very good account store, it has been working for a long time. I buy for the purpose of earning money through social networks, on freelance exchanges. Accounts provide only high-quality ones, with different registration terms, and a wide geography. Personally, as a client, I am satisfied with everything, I see no reason to complain, the pricing policy is also reasonable. We plan to continue using the service.
Visit here
https://accstores.com

# How To Double ETH Instantly In 2021 2021/09/05 13:46 Edwardlom

How To Double ETH Instantly In 2021

ETHER Double is a fully automated ETHEREUM investment platform operating with no human intervention.
Take full advantage of our fast and legit ETHEREUM doubler platform.
Our automated system gathers information from the blockchain transfers and cryptocurrency exchanges to study and predict the ETHEREUM price.
Our servers open and close thousands of transactions per minute, analyzing the price difference and transaction fees, and use that information to double your ETHEREUMS.
Our data centers are located on multiple locations around the world so that our system has 100% uptime guaranteed.

Click Link

https://etherdouble.com

Thanks

# AccStores.com - Buy Instagram accounts and more! Bulk and aged social media accounts. High quality! 2021/09/28 18:42 AccstoresUtigo


AccStores.com is a very good account store. Good choice, average prices. The range is very large, you can choose almost any parameter. Accounts are only high-quality, with different registration terms. Personally, I am satisfied with everything as a client, I do not see any complaints, we plan to continue using the service. I recommend this service.
Visit here
https://accstores.com

# Свежие новости 2022/02/19 12:27 Adamobg

Где Вы ищите свежие новости?
Лично я читаю и доверяю газете https://www.ukr.net/.
Это единственный источник свежих и независимых новостей.
Рекомендую и Вам

# Trusted Bitcoin Investment platform with fully automated payouts 2022/07/09 1:55 Josepherext

Double Bitcoin in 24 Hours System is a Legit Bitcoin Doubler System to double your investment after 24 hours. Double Bitcoin in 24 Hours System is fully automated system, once your investment confirms via blockchain, our system start work and provides you double payout automatically after 24 hours.

Click Here

https://bitdouble.net

Thanks

# I enjoyed reading this article, it’s both useful and well organized. 2026/01/12 7:30 I enjoyed reading this article, it’s both useful a

I enjoyed reading this article, it’s both useful and well organized.

# Очень хорошая статья, всё чётко и ясно. Сайт полезный, здесь удобно искать нужное. https://manuale.pp.ua/. 2026/05/03 11:34 Очень хорошая статья, всё чётко и ясно. Сайт поле

Очень хорошая статья, всё
чётко и ясно. Сайт полезный,
здесь удобно искать нужное.
https://manuale.pp.ua/.

タイトル
名前
Url
コメント