Re: Booting XP(E) via a USB to PCI slotcard




Hi all,
does anybody know,

where IoAssignArcName() stores its values (in a buffer or the pointer
to that buffer) for

\\ArcName\\multi(0)disk(0)rdisk(0)partition(1)

in Unicode this must be

\\ArcName\\multi(0)disk(0)rdisk(0)partition(1)


I have a simple idea, and that are most the best


FAKE simple the Arcpath (Arcname) with the value above for the device,
which is noted (where?!) after ntdetect.com\ntldr detection as

\\Device\\Harddisk0\\Partition1

that is in Unicode

\\Device\\Harddisk0\\Partition1


simply by writing the first Unicode String to ram.

I dont understand, where these values have to stay that are mentioned
by

http://www.osronline.com/ddkx/kmarch/k104_60c2.htm

Nice to hear from you
Dietmar

EDIT: This side put my real Unicode String back to ASCII,...grr.
so it cant be seen anymore as Unicode.

.



Relevant Pages

  • Re: newbie copying CString ptr confusion
    ... The buffer is unicode, no? ... pointer to LPCSTR does not change the fact that the underlying array is unicode. ... of the string? ...
    (microsoft.public.vc.mfc)
  • Re: NFS Character Issues on Suse 9.1
    ... A buffer is a thing measured in bytes, ... unicode, ... It's still slower for western alphabets, ... and one "feature" version that contains the newest software. ...
    (alt.os.linux.suse)
  • Re: How to print the cookie value
    ... mixing char and wchar_t strings. ... TCHAR buffer; ... BOOL bRes = InternetGetCookie, name, ... have you defined both UNICODE and _UNICODE? ...
    (microsoft.public.vc.mfc)
  • Re: Help reading registry key
    ... Your buffer should be coming back with the same trash that was in ... It will write a UNICODE ... > I'll assume you know about enumering a registry key so I won't detail ... > DWORD nNameSize = nMaxKeyNameSize; ...
    (microsoft.public.pocketpc.developer)
  • Re: CString to LPCSTR
    ... The proper thing to do depends on what format of text the RichEdit control ... Since you're apparently building the project with UNICODE ... by the minimum size of the byte buffer, or the length of the string. ...
    (microsoft.public.vc.mfc)

Loading