Control registry operations in Windows and .NET applications

CBRegInformation.Synchronize method


Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

CbRegInformation     See also    


Synchronizes the object and the raw data buffer.


    procedure Synchronize(AObject: TObject);

[C++ (Lib)]
    void Synchronize(PVOID Object);

[C++ (VCL)]
    __fastcall void Synchronize(TObject* AObject);

[C++ (.NET)]
    void Synchronize(Object AObject);

    void Synchronize(Object AObject);

    Sub Synchronize(ByVal AObject As Object)


  • AObject - the object to take the data from


Synchronizes the "object" representation with the raw data and sets the RawDataChanged flag. It can throw ECBRegError(ERROR_INSUFFICIENT_BUFFER) or ECBRegError(ERROR_MORE_DATA) which should be passed from callbacks. In the case AObject contains any "outside" pointers to some data, which is allocated by the application code, this data can be freed by the application after this call.

Note, that if ReadOnly property is true, the object should not be changed.

See also

ToObject     RawDataChanged     ReadOnly     Using CbRegInformation class    

Back to top