Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

BOOL WINAPI CryptUnregisterOIDFunction ( DWORD  dwEncodingType,
LPCSTR  pszFuncName,
LPCSTR  pszOID 
)

Definition at line 667 of file oid.c.

Referenced by DllUnregisterServer().

00669 {
00670     LPSTR szKey;
00671     LONG rc;
00672 
00673     TRACE("%x %s %s\n", dwEncodingType, debugstr_a(pszFuncName),
00674      debugstr_a(pszOID));
00675 
00676     if (!pszFuncName || !pszOID)
00677     {
00678         SetLastError(ERROR_INVALID_PARAMETER);
00679         return FALSE;
00680     }
00681 
00682     szKey = CRYPT_GetKeyName(dwEncodingType, pszFuncName, pszOID);
00683     rc = RegDeleteKeyA(HKEY_LOCAL_MACHINE, szKey);
00684     CryptMemFree(szKey);
00685     if (rc)
00686         SetLastError(rc);
00687     return rc ? FALSE : TRUE;
00688 }


Generated on Fri Feb 10 05:27:55 2012 for ReactOS by doxygen 1.6.3

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.