LongestDataLength - cRegistry
Returns the length of the longest data in all Values for the currently open Key
Type: Function
Return Data Type: Integer
Syntax
Function LongestDataLength Returns Integer
Call Example
Get LongestDataLength to IntegerVariable
Description
The LongestDataLength function returns the length of the longest data in all Values for the currently open Key. Use LongestDataLength when you need to know the maximum size of all of the Key's Values. This is typically only used when you need to make low-level Windows API calls.
Return Value
Returns the number of bytes in the longest Data item in the Key