<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2013-10-07 22:20, Yaron Keren wrote:<br>
</div>
<blockquote
cite="mid:CANa4zJokwTka3n33suOEqHJqf8WXsMCAnYoNKdmt4KdWHCoZeA@mail.gmail.com"
type="cite">
<div dir="rtl">
<div dir="ltr">The actual data type is <span
style="font-family:Consolas,Courier,monospace;font-size:14.166666030883789px;line-height:16.66666603088379px;color:blue">typedef</span><span
style="color:rgb(0,0,0);font-family:Consolas,Courier,monospace;font-size:14.166666030883789px;line-height:16.66666603088379px">
ULONG_PTR HCRYPTPROV;</span></div>
<div dir="ltr">I found two conflicting descriptions in <a
moz-do-not-send="true" href="http://microsoft.com">microsoft.com</a>
for ULONG_PTR:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">The first <a moz-do-not-send="true"
href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751%28v=vs.85%29.aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx</a> says
it's always 64 bits:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<pre style="padding:5px;margin-top:0px;margin-bottom:0px;font-family:Consolas,Courier,monospace;overflow:auto;word-wrap:normal;color:rgb(0,0,0);font-size:14.166666030883789px;line-height:16.66666603088379px">
#<span style="color:blue">if</span> defined(_WIN64)
<span style="color:blue">typedef</span> <span style="color:blue">unsigned</span> __int64 ULONG_PTR;
#<span style="color:blue">else</span>
<span style="color:blue">typedef</span> <span style="color:blue">unsigned</span> <span style="color:blue">long</span> ULONG_PTR;
#endif</pre>
</div>
<br>
</div>
</blockquote>
unsigned long is always 32 bits on Microsoft's compiler.<br>
<br>
Sebastian<br>
</body>
</html>