Jascha Knack jascha.knack@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.