crypt32(5/5): Implement CryptSIPLoad
Alexandre Julliard
julliard at winehq.org
Tue May 15 08:21:39 CDT 2007
Juan Lang <juan_lang at yahoo.com> writes:
> +static struct list providers;
> +CRITICAL_SECTION providers_cs;
> +
> +void crypt_sip_init(void)
> +{
> + InitializeCriticalSection(&providers_cs);
> + list_init(&providers);
> + providers_cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": providers_cs");
> +}
Lists and critical sections can be initialized statically, this is
more efficient and avoids having to export a bunch of init functions.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list