4 ms·
My personal favorite is PCZZWSTR: a const pointer to a contiguous WCHAR array, where each substring is NUL-terminated, and the array itself is also terminated b
by colatkinson 7y ago
My personal favorite is PCZZWSTR: a const pointer to a contiguous WCHAR array, where each substring is NUL-terminated, and the array itself is also terminated by a NUL. Thus (I assume) the ZZ--zero zero. I've only ever seen it used in the SHFILEOPSTRUCTW struct.
- wtallis 7y agoThat reads like one of the instruction mnemonics from https://twitter.com/x86instructions https://twitter.com/x86instructions
- voldacar 7y ago>SHFILEOPSTRUCTW now that takes the cake
- whoopdedo 7y agoNah. That would be INITCOMMONCONTROLSEX. And the related LVM_SORTITEMSEX, DDSCAPSEX, and of course MPR_CREDENTIALSEX_0.
- saagarjha 7y agoWith Microsoft's use of ALLCAPS and using an "Ex" prefix, this was all but guaranteed…
- msclrhd 7y agoHow about SHITEMID in the shlwapi DLL? That's supposed to be SH-ITEM-ID.
- Barrin92 7y agoif someone ever figures out the meaning of that phrase it's probably going to summon some cosmic horror that will be the end of us all
- therein 7y agoI've had some interesting experiences with SHFileOperationA on Wine. Star Citizen's updater wasn't working properly at one point due to it.
- alxmdev 7y agoMulti-strings are also pretty common in the registry, see REG_MULTI_SZ.
- asveikau 7y agoI feel like that construct, sometimes called "double-null terminated", is often inaccurately described. I prefer to think of it as a contiguous block of null terminated strings terminated by an empty string. (Just as '\0' terminates a C string, the empty string terminates such a list.)
- deleted 7y ago[deleted]
- deleted 7y ago[deleted]