Is an alias for RNG_BytesWithPrompt that generates a random string in Visual Basic (VB6) only.
Public Declare Function RNG_StringWithPrompt Lib "diCrPKI.dll" Alias "RNG_BytesWithPrompt"
(ByVal strData As String, ByVal nDataLen As Long, ByVal strPrompt As String, ByVal nOptions As Long) As Long
nRet = RNG_StringWithPrompt(strData, nDataLen, strPrompt, nOptions)
String to receive the random data.Long specifying the required length in bytes.String specifying an (optional) prompt for the dialog.
Specify an empty string ("") or NULL to use the default dialog.Long option flags:Not applicable
Long: If successful, the return value is zero;
otherwise it returns a nonzero error code.
Not applicable
This alias is for classic Visual Basic (VB6) users only. The output string may contain characters with value zero (and possibly traces of nuts). See Random Number Generator for more information on the RNG and seeds.