RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegistry.GetDataInfo Method

Returns information about a specified data value associated with the current key.

Pascal
function GetDataInfo(const ValueName: string; var Value: TRegDataInfo): Boolean;
C++
__fastcall Boolean GetDataInfo(const AnsiString ValueName, TRegDataInfo Value);

Call GetDataInfo to get information about a data value associated with the current key. ValueName is a string containing the name of the data value to query. Value is a TRegDataInfo value in which information about the data value is returned. If the data value is of type rdString or rdExpandString, the size of the data value includes an extra byte for the terminating null character. 

GetDataInfo returns true if data value information is returned. If GetDataInfo fails, it returns false, and the Value record is filled with zeros. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!