[PATCH] advapi32: Add magic codes to HCRYPTKEY and HCRYPTHASH.

Austin Lund austin.lund at gmail.com
Wed Aug 18 07:27:25 CDT 2010

On 18 August 2010 20:44, GOUJON Alexandre <ale.goujon at gmail.com> wrote:
> On 08/18/2010 12:22 PM, Hans Leidekker wrote:
>> They are often built from four character ascii strings to help find out
>> where the structures come from. I don't know why this one was chosen
>> but I guess you could use something like 0xA39E741E and 0xA39E741D.
> Yep, there are some magic values at http://en.wikipedia.org/wiki/Hexspeak
> FYI, MAGIC_CRYPTPROV comes from the following commit
> http://source.winehq.org/git/wine.git/?a=commitdiff;h=44cb0906da3dddbca1fe670e723b4d03aa3e2488

None of that answers the "why" question except perhaps the part about
unaligned pointer values which isn't really relevant for modern

I'll wait for any further feedback, try something like above and
resubmit tomorrow.

More information about the wine-devel mailing list