On 18 August 2010 18:34, Hans Leidekker hans@codeweavers.com wrote:
On Wed, 2010-08-18 at 10:14 +1000, Austin Lund wrote:
#define MAGIC_CRYPTPROV 0xA39E741F +#define MAGIC_CRYPTKEY 0xA39E741F +#define MAGIC_CRYPTHASH 0xA39E741F
The app might pass a crypto handle of the wrong type, so it would be better to use different magic values.
Are there any rules to these magic values? Why was 0xA39E741F chosen?