Destroys RNG context for the user defined RNG.
#include "hurandom.h"
int hu_CustomRngDestroy(sb_RNGCtx *rngCtx, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
RNG context pointer.
A global context.
This function will call the registered hu_RngEndFunc() function (if any) before the RNG context is destroyed.
RNG context pointer is NULL.
RNG context is NULL.
RNG context is invalid.
Failure return from the callback function.
Success.