[MSI] DllCanUnloadNow try2
Dmitry Timoshkov
dmitry at baikal.ru
Sun Dec 4 21:27:27 CST 2005
"Christian Gmeiner" <christian.gmeiner at students.fh-vorarlberg.ac.at> wrote:
> +/**********************************************************************
> + * Dll lifetime tracking declaration
> + */
> +void LockModule(void)
> +{
> + InterlockedIncrement(&dll_count);
> +}
> +
> +void UnlockModule(void)
> +{
> + InterlockedDecrement(&dll_count);
> +}
Since these 2 are used from inside single source file they can (and should) be
made static.
--
Dmitry.
More information about the wine-devel
mailing list