bcrypt: Added BCryptGenRandom stub

Dmitry Timoshkov dmitry at baikal.ru
Sat Jan 4 21:59:54 CST 2014


Jascha Knack <jascha.knack at smail.inf.h-brs.de> wrote:

> +NTSTATUS WINAPI BCryptGenRandom(BCRYPT_ALG_HANDLE hAlgorithm, PUCHAR
> pbBuffer,
> +                                ULONG cbBuffer, ULONG dwFlags)
> +{
> +    FIXME("%08x, %08x, %08x, %08x - stub\n", hAlgorithm, pbBuffer,
> cbBuffer, dwFlags);
> +
> +    return ERROR_CALL_NOT_IMPLEMENTED;
> +}

If the API is supposed to return NTSTATUS it can't return a win32 error
code. Also some of the printf format specifiers should be %p.

P.S.
Your mailer has mangled the patch.

-- 
Dmitry.



More information about the wine-devel mailing list