crypt32: Add some documentation.

oldstable
Paul Vriens 2006-09-07 15:07:40 +02:00 committed by Alexandre Julliard
parent b2182f9d82
commit 9592a88860
1 changed files with 20 additions and 0 deletions

View File

@ -413,6 +413,26 @@ BOOL WINAPI CryptGetDefaultOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet,
return FALSE;
}
/***********************************************************************
* CryptRegisterOIDFunction (CRYPT32.@)
*
* Register the DLL and the functions it uses to cover the combination
* of encoding type, functionname and OID.
*
* PARAMS
* dwEncodingType [I] Encoding type to be used.
* pszFuncName [I] Name of the function to be registered.
* pszOID [I] OID of the function (numeric or string).
* pwszDll [I] The DLL that is to be registered.
* pszOverrideFuncName [I] Name of the function in the DLL.
*
* RETURNS
* Success: TRUE.
* Failure: FALSE. (Look at GetLastError()).
*
* NOTES
* Registry errors are always reported via SetLastError().
*/
BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
LPCSTR pszOID, LPCWSTR pwszDll, LPCSTR pszOverrideFuncName)
{