|
of_save
|
|
Full name
|
pfc_n_cst_winsrv_preference.of_save
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_save(string)
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_save (string as_regkey);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Save
//
// Access: public
//
// Arguments:
// as_regkey The name of the registry key
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: Saves the preference information to the Registry.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
integer li_rc
//Check for a window association with this object.
If IsNull(iw_requestor) Or Not IsValid (iw_requestor) Then
Return -1
End If
li_rc = of_Save(True, as_regkey, '')
Return li_rc
end function