Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 978 of file oid.c.
Referenced by DllUnregisterServer().
00980 { 00981 HKEY key; 00982 LPWSTR dlls; 00983 BOOL ret; 00984 00985 TRACE("(%x, %s, %s)\n", dwEncodingType, debugstr_a(pszFuncName), 00986 debugstr_w(pwszDll)); 00987 00988 if (!pwszDll) 00989 { 00990 SetLastError(E_INVALIDARG); 00991 return FALSE; 00992 } 00993 00994 if (!CRYPT_GetDefaultOIDKey(dwEncodingType, pszFuncName, &key)) 00995 return FALSE; 00996 00997 dlls = CRYPT_GetDefaultOIDDlls(key); 00998 if ((ret = CRYPT_RemoveStringFromMultiString(dlls, pwszDll))) 00999 ret = CRYPT_SetDefaultOIDDlls(key, dlls); 01000 CryptMemFree(dlls); 01001 RegCloseKey(key); 01002 return ret; 01003 }