switch (reason) { case DLL_PROCESS_ATTACH: set_global_hinstance (hinst); break;
if (reason == DLL_PROCESS_ATTACH ) { set_global_hinstance (hinst);  gpgme_check_version (NULL);   if (initialize_passcache ()) return FALSE; if (initialize_mapi_gpgme ()) return FALSE;
DllMain (HINSTANCE hinst, DWORD reason, LPVOID reserved){    switch (reason) {    case DLL_PROCESS_ATTACH:	set_global_hinstance (hinst);	break;    }    return TRUE;}