Calling dBarDefs causes the default values of the OLE to be set equal to the current settings of the OLE variables - i.e. those used to generate the current image.
This function always returns 0.
More:
dBarSaveImage(filename)