Liste des Groupes | Revenir à cl misc |
"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:You can use it in CreateFile. In fact there are cases when you should. I remotely remember a problem determining if the file is same and opening it. It failed miserably on letters created by the SUBST command.On 2024-08-19 10:45, Lawrence D'Oliveiro wrote:[...]On Mon, 19 Aug 2024 09:37:39 +0200, Dmitry A. Kazakov wrote:OK, I tried a test program that invokes QueryDosDeviceW() on L"C:".>Drive names are only single letters. You’re not talking aboutAnd single drive letters?>
They are dozens characters long actually, if you mean the device names.
reserved
file names, are you?
No, I am talking about proper file paths under Windows. Letters is a
DOS layer on top of it. E.g. see QueryDosDeviceW call.
The result was "\Device\HarddiskVolume4". (That's not a C string
literal. It contains two single backslash characters.)
What can I do with that string?
Les messages affichés proviennent d'usenet.